Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.LowPass,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001341/0.001341, allocations: 97.98 kB / 17.58 MB, free: 5.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 192 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.348/1.348, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 51.94 kB / 280.8 MB, free: 3.059 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.0907, allocations: 46.63 MB / 327.4 MB, free: 4.355 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.LowPass): time 0.004431/0.09518, allocations: 2.816 MB / 330.2 MB, free: 1.512 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.09673, allocations: 0.7371 MB / 331 MB, free: 0.7656 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002783/0.09704, allocations: 15.88 kB / 331 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.09728, allocations: 47.56 kB / 331 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003032/0.09759, allocations: 99.17 kB / 331.1 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.09797, allocations: 107.7 kB / 331.2 MB, free: 0.5 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005184/0.0985, allocations: 382.5 kB / 331.6 MB, free: 128 kB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002434/0.09876, allocations: 96.72 kB / 331.7 MB, free: 36 kB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003429/0.09911, allocations: 147.4 kB / 331.8 MB, free: 15.89 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002664/0.09939, allocations: 171.3 kB / 332 MB, free: 15.72 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.567e-05/0.09949, allocations: 32 kB / 332 MB, free: 15.69 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.728e-05/0.09958, allocations: 32 kB / 332.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.693e-05/0.09966, allocations: 75.69 kB / 332.1 MB, free: 15.59 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.09984, allocations: 151.2 kB / 332.3 MB, free: 15.44 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000365/0.1002, allocations: 366.9 kB / 332.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1002, allocations: 0 / 332.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1002, allocations: 0 / 332.6 MB, free: 15.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.115e-06/0.1003, allocations: 0 / 332.6 MB, free: 15.08 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001383/0.1016, allocations: 0.6653 MB / 333.3 MB, free: 14.36 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.242e-05/0.1017, allocations: 8.031 kB / 333.3 MB, free: 14.35 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.681e-05/0.1018, allocations: 62.72 kB / 333.4 MB, free: 14.28 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.36e-05/0.1019, allocations: 36.56 kB / 333.4 MB, free: 14.24 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003726/0.1023, allocations: 280.6 kB / 333.7 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.1023, allocations: 20.94 kB / 333.7 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.506e-05/0.1024, allocations: 24.38 kB / 333.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006324/0.103, allocations: 268.9 kB / 334 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.103, allocations: 0 / 334 MB, free: 13.62 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.1031, allocations: 11.98 kB / 334 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.1031, allocations: 8 kB / 334 MB, free: 13.6 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007887/0.1039, allocations: 266.1 kB / 334.3 MB, free: 13.34 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001533/0.1054, allocations: 0.8908 MB / 335.2 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008437/0.1063, allocations: 347.7 kB / 335.5 MB, free: 12.01 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003772/0.1067, allocations: 136.7 kB / 335.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.102e-05/0.1067, allocations: 7.938 kB / 335.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005102/0.1072, allocations: 185.8 kB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=18): time 1.784e-06/0.1072, allocations: 4 kB / 335.8 MB, free: 11.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=18): time 0.001816/0.1091, allocations: 0.58 MB / 336.4 MB, free: 11.05 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.644e-05/0.1091, allocations: 110.9 kB / 336.5 MB, free: 10.92 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.1094, allocations: 266.6 kB / 336.8 MB, free: 10.66 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.108e-05/0.1094, allocations: 29.7 kB / 336.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001168/0.1096, allocations: 179.9 kB / 337 MB, free: 10.44 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.721e-05/0.1096, allocations: 63.09 kB / 337 MB, free: 10.38 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.594e-05/0.1097, allocations: 49.94 kB / 337.1 MB, free: 10.32 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001031/0.1098, allocations: 342.8 kB / 337.4 MB, free: 9.977 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003171/0.1101, allocations: 101.5 kB / 337.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.1105, allocations: 172.1 kB / 337.7 MB, free: 9.68 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006102/0.1111, allocations: 271.5 kB / 338 MB, free: 9.387 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.1111, allocations: 0 / 338 MB, free: 9.387 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001089/0.1122, allocations: 423.5 kB / 338.4 MB, free: 8.957 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.1123, allocations: 41.64 kB / 338.4 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.1123, allocations: 0 / 338.4 MB, free: 8.91 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/0.1128, allocations: 88.75 kB / 338.5 MB, free: 8.82 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002654/0.113, allocations: 59.98 kB / 338.6 MB, free: 8.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00168/0.1147, allocations: 1.559 MB / 340.1 MB, free: 7.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003143/0.1151, allocations: 47.66 kB / 340.2 MB, free: 7.016 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.629e-05/0.1151, allocations: 8 kB / 340.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003509/0.1155, allocations: 196.2 kB / 340.4 MB, free: 6.812 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002975/0.1158, allocations: 156.2 kB / 340.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000535/0.1163, allocations: 247.5 kB / 340.8 MB, free: 6.363 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.194e-06/0.1163, allocations: 0 / 340.8 MB, free: 6.363 MB / 286.1 MB Notification: Performance of matching and sorting (n=29) (initialization_lambda0): time 0.000758/0.1171, allocations: 347.4 kB / 341.1 MB, free: 6.008 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.1171, allocations: 37.69 kB / 341.1 MB, free: 5.965 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.1171, allocations: 8 kB / 341.1 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.679e-05/0.1172, allocations: 21.05 kB / 341.2 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.1175, allocations: 59.89 kB / 341.2 MB, free: 5.875 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/0.1186, allocations: 1.552 MB / 342.8 MB, free: 4.184 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003177/0.1189, allocations: 47.8 kB / 342.8 MB, free: 4.137 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.463e-05/0.1189, allocations: 8.094 kB / 342.8 MB, free: 4.129 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000153/0.1191, allocations: 201.4 kB / 343 MB, free: 3.926 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.752e-05/0.1192, allocations: 27.66 kB / 343 MB, free: 3.898 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.353e-05/0.1192, allocations: 30.17 kB / 343.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.1192, allocations: 0 / 343.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.985e-06/0.1192, allocations: 0 / 343.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.1192, allocations: 0 / 343.1 MB, free: 3.871 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.1205, allocations: 0.7143 MB / 343.8 MB, free: 3.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1206, allocations: 0 / 343.8 MB, free: 3.094 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002184/0.1208, allocations: 47.98 kB / 343.8 MB, free: 3.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001659/0.121, allocations: 40.83 kB / 343.9 MB, free: 3.004 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.151e-05/0.121, allocations: 15.92 kB / 343.9 MB, free: 2.988 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/0.1224, allocations: 1.547 MB / 345.4 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.1225, allocations: 0 / 345.4 MB, free: 1.301 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.1236, allocations: 0.5155 MB / 346 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.1237, allocations: 108.8 kB / 346.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.951e-05/0.1238, allocations: 0 / 346.1 MB, free: 0.6406 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002707/0.124, allocations: 27.97 kB / 346.1 MB, free: 0.6133 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.63e-05/0.1241, allocations: 23.97 kB / 346.1 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.1242, allocations: 16 kB / 346.1 MB, free: 0.5742 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001906/0.1244, allocations: 190 kB / 346.3 MB, free: 400 kB / 286.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1244, allocations: 4 kB / 346.3 MB, free: 396 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0005582/0.1249, allocations: 123.8 kB / 346.4 MB, free: 272 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001515/0.1264, allocations: 1.042 MB / 347.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001437/0.1279, allocations: 0.711 MB / 348.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1279, allocations: 0 / 348.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004572/0.1284, allocations: 238.5 kB / 348.4 MB, free: 14.18 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004321/0.1288, allocations: 56.02 kB / 348.5 MB, free: 14.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005321/0.1342, allocations: 3.148 MB / 351.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.1345, allocations: 0.7561 MB / 352.4 MB, free: 10.06 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001603/0.1347, allocations: 34.2 kB / 352.4 MB, free: 10.03 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1348, allocations: 83.41 kB / 352.5 MB, free: 9.945 MB / 302.1 MB Notification: Performance of SimCode: time 8.71e-07/0.1349, allocations: 4 kB / 352.5 MB, free: 9.941 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03351/0.1684, allocations: 6.816 MB / 359.3 MB, free: 3.059 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.26/11.43, allocations: 15.94 kB / 359.3 MB, free: 3.043 MB / 302.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_OpAmps_LowPass.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/LowPass/LowPass.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.LowPass.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches