Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001775/0.001775, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002124/0.002124, allocations: 213.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 230.5 MB / 257.4 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2366/0.2366, allocations: 46.92 MB / 360.8 MB, free: 4.184 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002547/0.002547, allocations: 83.88 kB / 0.4962 GB, free: 7.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3712, allocations: 66.09 MB / 0.5607 GB, free: 4.285 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001594/0.3728, allocations: 489 kB / 0.5612 GB, free: 3.809 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003305/0.3761, allocations: 2.17 MB / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.111e-05/0.3761, allocations: 0 / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.082e-05/0.3762, allocations: 0 / 0.5633 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.138e-05/0.3762, allocations: 7.938 kB / 0.5633 GB, free: 1.613 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001225/0.3774, allocations: 394.8 kB / 0.5637 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.12e-05/0.3774, allocations: 8 kB / 0.5637 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.336e-05/0.3775, allocations: 4 kB / 0.5637 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.011e-05/0.3775, allocations: 11.88 kB / 0.5637 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0217/0.3992, allocations: 3.377 MB / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.399e-05/0.3992, allocations: 0 / 0.567 GB, free: 14.45 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.3993, allocations: 8 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.458e-06/0.3993, allocations: 4 kB / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 2.059e-05/0.3993, allocations: 0 / 0.567 GB, free: 14.44 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000131/0.3995, allocations: 11.98 kB / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3995, allocations: 0 / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3995, allocations: 0 / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.3995, allocations: 0 / 0.567 GB, free: 14.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003113/0.3998, allocations: 246.3 kB / 0.5673 GB, free: 14.16 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.3998, allocations: 12.03 kB / 0.5673 GB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001199/0.3999, allocations: 106 kB / 0.5674 GB, free: 14.03 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002047/0.4002, allocations: 88.2 kB / 0.5675 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4003, allocations: 181.8 kB / 0.5676 GB, free: 13.74 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.304e-05/0.4004, allocations: 150.9 kB / 0.5678 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.711e-05/0.4004, allocations: 154.9 kB / 0.5679 GB, free: 13.44 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.188e-05/0.4005, allocations: 113 kB / 0.568 GB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.4006, allocations: 79.28 kB / 0.5681 GB, free: 13.25 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.226e-05/0.4006, allocations: 150.6 kB / 0.5682 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.036e-05/0.4007, allocations: 150.6 kB / 0.5684 GB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.311e-05/0.4008, allocations: 154.6 kB / 0.5685 GB, free: 12.8 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.4011, allocations: 417 kB / 0.5689 GB, free: 12.35 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.849e-05/0.4012, allocations: 173.1 kB / 0.5691 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.4012, allocations: 80.14 kB / 0.5692 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.369e-05/0.4013, allocations: 75.28 kB / 0.5693 GB, free: 12.01 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.37e-05/0.4013, allocations: 113.8 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of pre-optimization done (n=0): time 1.392e-06/0.4013, allocations: 0 / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of matching and sorting (n=0): time 8.03e-05/0.4014, allocations: 29.7 kB / 0.5694 GB, free: 11.86 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.4015, allocations: 182.1 kB / 0.5696 GB, free: 11.65 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.4016, allocations: 101.8 kB / 0.5697 GB, free: 11.54 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.4016, allocations: 25.7 kB / 0.5697 GB, free: 11.51 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.439e-05/0.4017, allocations: 80.14 kB / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.4017, allocations: 0 / 0.5698 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.957e-05/0.4017, allocations: 13.72 kB / 0.5698 GB, free: 11.41 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001395/0.4018, allocations: 315 kB / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.918e-06/0.4018, allocations: 0 / 0.5701 GB, free: 11.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.817e-05/0.4019, allocations: 17.72 kB / 0.5701 GB, free: 11.07 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.896e-05/0.4019, allocations: 75.28 kB / 0.5702 GB, free: 11 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.185e-05/0.4019, allocations: 75.28 kB / 0.5702 GB, free: 10.92 MB / 414.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.921e-05/0.402, allocations: 29.64 kB / 0.5703 GB, free: 10.89 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.4021, allocations: 87.27 kB / 0.5703 GB, free: 10.8 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.989e-05/0.4021, allocations: 83.22 kB / 0.5704 GB, free: 10.72 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.142e-05/0.4022, allocations: 158.6 kB / 0.5706 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.997e-05/0.4022, allocations: 83.22 kB / 0.5707 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.493e-05/0.4023, allocations: 150.6 kB / 0.5708 GB, free: 10.33 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.849e-05/0.4024, allocations: 79.22 kB / 0.5709 GB, free: 10.25 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.4024, allocations: 83.22 kB / 0.571 GB, free: 10.17 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.4026, allocations: 268.4 kB / 0.5712 GB, free: 9.898 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.102e-05/0.4026, allocations: 104.9 kB / 0.5713 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.256e-05/0.4027, allocations: 115.7 kB / 0.5714 GB, free: 9.668 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.244e-05/0.4028, allocations: 176.3 kB / 0.5716 GB, free: 9.488 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-05/0.4029, allocations: 180.3 kB / 0.5718 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.28e-05/0.4029, allocations: 184.2 kB / 0.5719 GB, free: 9.117 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002515/0.4032, allocations: 372.3 kB / 0.5723 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.794e-05/0.4032, allocations: 104.9 kB / 0.5724 GB, free: 8.594 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.4033, allocations: 104.9 kB / 0.5725 GB, free: 8.484 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.33e-05/0.4034, allocations: 188.2 kB / 0.5727 GB, free: 8.293 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.832e-05/0.4035, allocations: 184.1 kB / 0.5728 GB, free: 8.105 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.824e-05/0.4035, allocations: 180.3 kB / 0.573 GB, free: 7.922 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.813e-05/0.4036, allocations: 184.2 kB / 0.5732 GB, free: 7.734 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.4038, allocations: 308.1 kB / 0.5735 GB, free: 7.41 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.823e-05/0.4039, allocations: 108.9 kB / 0.5736 GB, free: 7.297 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.064e-05/0.404, allocations: 184.3 kB / 0.5738 GB, free: 7.109 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.4041, allocations: 108.9 kB / 0.5739 GB, free: 6.996 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.005e-05/0.4042, allocations: 184.2 kB / 0.574 GB, free: 6.809 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.785e-05/0.4042, allocations: 108.9 kB / 0.5741 GB, free: 6.695 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.129e-05/0.4043, allocations: 75.28 kB / 0.5742 GB, free: 6.621 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4043, allocations: 0 / 0.5742 GB, free: 6.621 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002671/0.4045, allocations: 4 kB / 0.5742 GB, free: 6.617 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004462/0.405, allocations: 0.7971 MB / 0.575 GB, free: 5.789 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 5.566e-05/0.405, allocations: 7.984 kB / 0.575 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.405, allocations: 0 / 0.575 GB, free: 5.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 3.777e-06/0.405, allocations: 3.938 kB / 0.575 GB, free: 5.777 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.4054, allocations: 459.7 kB / 0.5755 GB, free: 5.324 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000378/0.4058, allocations: 174 kB / 0.5756 GB, free: 5.113 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003008/0.4061, allocations: 0.669 MB / 0.5763 GB, free: 4.418 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 2.307e-05/0.4061, allocations: 4 kB / 0.5763 GB, free: 4.414 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.4062, allocations: 7.438 kB / 0.5763 GB, free: 4.406 MB / 414.1 MB Notification: Performance of SimCode: time 8.22e-07/0.4062, allocations: 0 / 0.5763 GB, free: 4.406 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.4324, allocations: 1.12 MB / 0.5774 GB, free: 3.391 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.38, allocations: 8 kB / 0.5774 GB, free: 3.383 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.csv --start-time 0 --stop-time 0 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0 ModelicaTest_trunk_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestExamplesCalculator/TestExamplesCalculator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.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.434308688003512]