Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 119.3 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 186.9 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 51.92 kB / 365.7 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1045, allocations: 52.15 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.00431/0.1088, allocations: 3.091 MB / 420.9 MB, free: 9.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1102, allocations: 0.7754 MB / 421.7 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000139/0.1103, allocations: 8 kB / 421.7 MB, free: 8.695 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001627/0.1105, allocations: 47.5 kB / 421.7 MB, free: 8.648 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1107, allocations: 119 kB / 421.9 MB, free: 8.531 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003247/0.1111, allocations: 131.8 kB / 422 MB, free: 8.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000496/0.1116, allocations: 458.2 kB / 422.4 MB, free: 7.953 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002484/0.1118, allocations: 106.9 kB / 422.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1121, allocations: 171.4 kB / 422.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002446/0.1123, allocations: 191.1 kB / 422.9 MB, free: 7.488 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 6.249e-05/0.1124, allocations: 44 kB / 422.9 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.237e-05/0.1124, allocations: 44 kB / 423 MB, free: 7.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.1125, allocations: 91.69 kB / 423.1 MB, free: 7.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.1127, allocations: 195.1 kB / 423.3 MB, free: 7.121 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005763/0.1133, allocations: 0.4942 MB / 423.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.1133, allocations: 0 / 423.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1133, allocations: 0 / 423.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1133, allocations: 0 / 423.8 MB, free: 6.625 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.001512/0.1148, allocations: 0.7185 MB / 424.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.1149, allocations: 12.03 kB / 424.5 MB, free: 5.84 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.002e-05/0.1149, allocations: 62.72 kB / 424.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.897e-05/0.115, allocations: 40.7 kB / 424.6 MB, free: 5.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005099/0.1155, allocations: 314.8 kB / 424.9 MB, free: 5.387 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.231e-05/0.1156, allocations: 20.94 kB / 424.9 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.442e-05/0.1156, allocations: 28.12 kB / 424.9 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007501/0.1164, allocations: 355.5 kB / 425.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.1164, allocations: 0 / 425.3 MB, free: 4.984 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.361e-05/0.1164, allocations: 12 kB / 425.3 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.1164, allocations: 8 kB / 425.3 MB, free: 4.965 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008488/0.1173, allocations: 306 kB / 425.6 MB, free: 4.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.1196, allocations: 1.272 MB / 426.9 MB, free: 3.309 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.1204, allocations: 323.5 kB / 427.2 MB, free: 2.965 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004034/0.1208, allocations: 124.8 kB / 427.3 MB, free: 2.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.77e-05/0.1208, allocations: 11.97 kB / 427.3 MB, free: 2.828 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004873/0.1213, allocations: 197.7 kB / 427.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.523e-06/0.1213, allocations: 0 / 427.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of matching and sorting (n=17): time 0.002096/0.1234, allocations: 0.6377 MB / 428.2 MB, free: 1.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.599e-05/0.1235, allocations: 106.8 kB / 428.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003431/0.1238, allocations: 299.2 kB / 428.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.1238, allocations: 37.7 kB / 428.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00015/0.124, allocations: 208.3 kB / 428.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.337e-05/0.124, allocations: 59.53 kB / 428.9 MB, free: 1.211 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.76e-05/0.1241, allocations: 57.69 kB / 428.9 MB, free: 1.148 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1243, allocations: 338.8 kB / 429.2 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/0.1247, allocations: 112.2 kB / 429.3 MB, free: 0.6953 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004387/0.1251, allocations: 220.4 kB / 429.6 MB, free: 448 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007615/0.1259, allocations: 339.6 kB / 429.9 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.1259, allocations: 3.938 kB / 429.9 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001258/0.1271, allocations: 485.9 kB / 430.4 MB, free: 15.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.272e-05/0.1272, allocations: 37.69 kB / 430.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.952e-06/0.1272, allocations: 0 / 430.4 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003168/0.1275, allocations: 68.88 kB / 430.5 MB, free: 15.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002961/0.1278, allocations: 67.89 kB / 430.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002303/0.1301, allocations: 1.632 MB / 432.2 MB, free: 13.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003515/0.1304, allocations: 63.8 kB / 432.2 MB, free: 13.55 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.546e-05/0.1305, allocations: 12 kB / 432.2 MB, free: 13.54 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001872/0.1307, allocations: 155 kB / 432.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.365e-05/0.1307, allocations: 31.73 kB / 432.4 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.912e-05/0.1308, allocations: 38.19 kB / 432.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1308, allocations: 0 / 432.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.574e-06/0.1308, allocations: 0 / 432.5 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.1308, allocations: 3.984 kB / 432.5 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001633/0.1324, allocations: 0.7925 MB / 433.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.1324, allocations: 0 / 433.3 MB, free: 12.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000219/0.1326, allocations: 47.91 kB / 433.3 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002288/0.1329, allocations: 64.84 kB / 433.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.693e-05/0.1329, allocations: 3.984 kB / 433.4 MB, free: 12.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002153/0.135, allocations: 1.625 MB / 435 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.135, allocations: 0 / 435 MB, free: 10.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001419/0.1364, allocations: 0.5794 MB / 435.6 MB, free: 9.973 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.693e-05/0.1365, allocations: 116.8 kB / 435.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.703e-05/0.1366, allocations: 0 / 435.7 MB, free: 9.84 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002861/0.1369, allocations: 35.95 kB / 435.7 MB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.905e-05/0.1369, allocations: 19.98 kB / 435.8 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.734e-05/0.137, allocations: 11.98 kB / 435.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002198/0.1372, allocations: 210 kB / 436 MB, free: 9.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1372, allocations: 0 / 436 MB, free: 9.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004173/0.1376, allocations: 75.89 kB / 436 MB, free: 9.496 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (firstOrder.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001835/0.1394, allocations: 1.116 MB / 437.2 MB, free: 8.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.1404, allocations: 437.7 kB / 437.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1404, allocations: 0 / 437.6 MB, free: 7.895 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005138/0.141, allocations: 247.2 kB / 437.8 MB, free: 7.641 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004172/0.1414, allocations: 55.14 kB / 437.9 MB, free: 7.586 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007259/0.1486, allocations: 3.664 MB / 441.5 MB, free: 3.758 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/0.1491, allocations: 0.7639 MB / 442.3 MB, free: 2.969 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001323/0.1492, allocations: 30.97 kB / 442.3 MB, free: 2.941 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.1494, allocations: 91.41 kB / 442.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1494, allocations: 0 / 442.4 MB, free: 2.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2266/0.3759, allocations: 7.274 MB / 449.7 MB, free: 30.01 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.24, allocations: 9.266 kB / 449.7 MB, free: 30.01 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.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: 14.793884560000151]