Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.005219/0.005219, allocations: 114 kB / 21.97 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 212.3 kB / 25.28 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.323/1.323, allocations: 207.6 MB / 236.1 MB, free: 9.98 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 47.92 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2459, allocations: 49.16 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed): time 0.003337/0.2492, allocations: 3.203 MB / 400.3 MB, free: 6.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.2504, allocations: 1.008 MB / 401.4 MB, free: 5.984 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001315/0.2506, allocations: 7.719 kB / 401.4 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001461/0.2507, allocations: 60.88 kB / 401.4 MB, free: 5.945 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002866/0.251, allocations: 134 kB / 401.6 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002631/0.2513, allocations: 142.5 kB / 401.7 MB, free: 5.773 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003822/0.2517, allocations: 494.5 kB / 402.2 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/0.2518, allocations: 103.5 kB / 402.3 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001919/0.252, allocations: 192.3 kB / 402.5 MB, free: 5.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.2523, allocations: 211 kB / 402.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.681e-05/0.2523, allocations: 40.09 kB / 402.7 MB, free: 5.27 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.2525, allocations: 76.38 kB / 402.8 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.52e-05/0.2525, allocations: 96.98 kB / 402.9 MB, free: 5.191 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.2527, allocations: 212 kB / 403.1 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004644/0.2531, allocations: 0.5042 MB / 403.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2531, allocations: 0 / 403.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.2531, allocations: 0 / 403.6 MB, free: 4.863 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.2531, allocations: 1.188 kB / 403.6 MB, free: 4.863 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001101/0.2542, allocations: 0.6743 MB / 404.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2543, allocations: 13.3 kB / 404.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.734e-05/0.2543, allocations: 16.31 kB / 404.3 MB, free: 4.371 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.406e-05/0.2543, allocations: 69.5 kB / 404.4 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.558e-05/0.2544, allocations: 47.36 kB / 404.4 MB, free: 4.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003191/0.2547, allocations: 244.3 kB / 404.6 MB, free: 4.086 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.79e-05/0.2548, allocations: 27.06 kB / 404.7 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.565e-05/0.2548, allocations: 34.69 kB / 404.7 MB, free: 4.062 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005452/0.2554, allocations: 349.7 kB / 405.1 MB, free: 3.902 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2554, allocations: 4 kB / 405.1 MB, free: 3.898 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.959e-05/0.2554, allocations: 11.53 kB / 405.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.2554, allocations: 7.812 kB / 405.1 MB, free: 3.891 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.2558, allocations: 240.8 kB / 405.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001609/0.2574, allocations: 1.127 MB / 406.4 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005759/0.258, allocations: 274.4 kB / 406.7 MB, free: 2.98 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004548/0.2585, allocations: 195.7 kB / 406.9 MB, free: 2.926 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002974/0.2588, allocations: 73.44 kB / 407 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.538e-05/0.2588, allocations: 36.88 kB / 407 MB, free: 2.871 MB / 318.1 MB Notification: Performance of pre-optimization done (n=27): time 1.242e-06/0.2588, allocations: 1.375 kB / 407 MB, free: 2.871 MB / 318.1 MB Notification: Performance of matching and sorting (n=27): time 0.0012/0.26, allocations: 469.2 kB / 407.5 MB, free: 2.688 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.488e-05/0.26, allocations: 80.45 kB / 407.5 MB, free: 2.594 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.2603, allocations: 337.8 kB / 407.9 MB, free: 2.414 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2603, allocations: 31.39 kB / 407.9 MB, free: 2.379 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.167e-05/0.2604, allocations: 218.8 kB / 408.1 MB, free: 2.191 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.068e-05/0.2605, allocations: 101.5 kB / 408.2 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.515e-05/0.2606, allocations: 70.56 kB / 408.3 MB, free: 2.066 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.549e-05/0.2606, allocations: 354.8 kB / 408.6 MB, free: 1.73 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.2608, allocations: 101.8 kB / 408.7 MB, free: 1.699 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.2611, allocations: 189.4 kB / 408.9 MB, free: 1.57 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.2615, allocations: 293.5 kB / 409.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.2615, allocations: 1.375 kB / 409.2 MB, free: 1.391 MB / 318.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006787/0.2622, allocations: 431.6 kB / 409.6 MB, free: 1.195 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.2622, allocations: 11.8 kB / 409.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2622, allocations: 1.594 kB / 409.6 MB, free: 1.191 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002292/0.2624, allocations: 67.97 kB / 409.7 MB, free: 1.168 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002977/0.2627, allocations: 78.28 kB / 409.8 MB, free: 1.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.2642, allocations: 1.853 MB / 411.6 MB, free: 15.51 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.2645, allocations: 38.5 kB / 411.7 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.586e-05/0.2645, allocations: 15.72 kB / 411.7 MB, free: 15.48 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001739/0.2647, allocations: 158 kB / 411.8 MB, free: 15.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.2648, allocations: 36.67 kB / 411.9 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.2654, allocations: 327.5 kB / 412.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.2654, allocations: 7 kB / 412.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.693e-06/0.2654, allocations: 0.9375 kB / 412.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2655, allocations: 5.594 kB / 412.2 MB, free: 15.16 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004581/0.2659, allocations: 362.4 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2659, allocations: 0.6094 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.2662, allocations: 61.39 kB / 412.6 MB, free: 14.91 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001759/0.2664, allocations: 54.75 kB / 412.7 MB, free: 14.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.745e-05/0.2664, allocations: 11.64 kB / 412.7 MB, free: 14.88 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000454/0.2669, allocations: 0.6111 MB / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.2669, allocations: 0 / 413.3 MB, free: 14.31 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009088/0.2678, allocations: 0.5199 MB / 413.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.2679, allocations: 55.02 kB / 413.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.928e-05/0.268, allocations: 10.19 kB / 413.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/0.2682, allocations: 20.56 kB / 413.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.967e-05/0.2683, allocations: 15.58 kB / 413.9 MB, free: 13.98 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-05/0.2683, allocations: 15.2 kB / 413.9 MB, free: 13.97 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002483/0.2685, allocations: 245.5 kB / 414.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2685, allocations: 0 / 414.2 MB, free: 13.84 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004318/0.269, allocations: 111 kB / 414.3 MB, free: 13.81 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (opAmp.v_in,opAmp.q_fr1,opAmp.q_fr2,opAmp.q_fr3,opAmp.q_fp1,opAmp.v_source,opAmp.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001269/0.2702, allocations: 1.089 MB / 415.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000753/0.271, allocations: 393.9 kB / 415.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.271, allocations: 0.5 kB / 415.8 MB, free: 12.7 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003369/0.2713, allocations: 141.2 kB / 415.9 MB, free: 12.64 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.2717, allocations: 40.11 kB / 415.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005072/0.2768, allocations: 3.745 MB / 419.7 MB, free: 9.953 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.2772, allocations: 0.7901 MB / 420.5 MB, free: 9.211 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001451/0.2773, allocations: 38.17 kB / 420.5 MB, free: 9.195 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000193/0.2775, allocations: 132.9 kB / 420.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.2775, allocations: 0 / 420.6 MB, free: 9.082 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03526/0.3128, allocations: 8.066 MB / 428.7 MB, free: 3.008 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.78/13.09, allocations: 4.062 kB / 428.7 MB, free: 3.004 MB / 334.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed_fmu --startTime=0 --stopTime=0.003 --stepSize=1.2e-06 --timeout=50 --tolerance=2e-07 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_AmplifierWithOpAmpDetailed.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/AmplifierWithOpAmpDetailed/AmplifierWithOpAmpDetailed.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.AmplifierWithOpAmpDetailed.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.52140301198233]