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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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: translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") translateModel(ModelicaTest.Utilities.TestExamplesCalculator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 111 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001957/0.001958, allocations: 211.9 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.387/1.387, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2166/0.2166, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 83.86 kB / 482 MB, free: 4.098 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.38, allocations: 62.44 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.00141/0.3814, allocations: 491.7 kB / 0.5321 GB, free: 13.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002801/0.3842, allocations: 2.129 MB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.357e-05/0.3843, allocations: 1.281 kB / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.127e-05/0.3843, allocations: 0 / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 2.194e-05/0.3843, allocations: 0 / 0.5342 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3853, allocations: 398.2 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 4.326e-05/0.3854, allocations: 6.219 kB / 0.5346 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.41e-05/0.3854, allocations: 5.156 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.431e-05/0.3855, allocations: 2.281 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01557/0.401, allocations: 3.357 MB / 0.5379 GB, free: 10.05 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.922e-05/0.4011, allocations: 8.938 kB / 0.5379 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.4012, allocations: 3.438 kB / 0.5379 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.826e-05/0.4012, allocations: 5 kB / 0.5379 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.4013, allocations: 1.125 kB / 0.5379 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001701/0.4014, allocations: 12.28 kB / 0.5379 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.4015, allocations: 0.9375 kB / 0.5379 GB, free: 10.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4015, allocations: 0 / 0.5379 GB, free: 10.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.163e-05/0.4015, allocations: 0 / 0.5379 GB, free: 10.03 MB / 398.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.0003471/0.4018, allocations: 313.1 kB / 0.5382 GB, free: 9.684 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/0.4019, allocations: 8.688 kB / 0.5382 GB, free: 9.684 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000241/0.4021, allocations: 89.55 kB / 0.5383 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000159/0.4023, allocations: 236.7 kB / 0.5385 GB, free: 9.332 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.887e-05/0.4024, allocations: 150.9 kB / 0.5386 GB, free: 9.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.467e-05/0.4025, allocations: 155.8 kB / 0.5388 GB, free: 9.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.625e-05/0.4026, allocations: 106 kB / 0.5389 GB, free: 8.922 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.364e-05/0.4026, allocations: 83.27 kB / 0.539 GB, free: 8.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.458e-05/0.4027, allocations: 158.5 kB / 0.5391 GB, free: 8.684 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.918e-05/0.4028, allocations: 151.6 kB / 0.5393 GB, free: 8.535 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.6e-05/0.4028, allocations: 155.7 kB / 0.5394 GB, free: 8.383 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.4031, allocations: 439 kB / 0.5398 GB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.127e-05/0.4033, allocations: 170.2 kB / 0.54 GB, free: 7.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.919e-05/0.4033, allocations: 92.06 kB / 0.5401 GB, free: 7.637 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.868e-05/0.4033, allocations: 79.22 kB / 0.5402 GB, free: 7.559 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.879e-05/0.4034, allocations: 107.8 kB / 0.5403 GB, free: 7.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.4034, allocations: 0 / 0.5403 GB, free: 7.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 8.127e-05/0.4035, allocations: 34.81 kB / 0.5403 GB, free: 7.406 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.415e-05/0.4036, allocations: 103.9 kB / 0.5404 GB, free: 7.281 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.53e-05/0.4037, allocations: 90.92 kB / 0.5405 GB, free: 7.184 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4037, allocations: 26.8 kB / 0.5405 GB, free: 7.152 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.4037, allocations: 84.14 kB / 0.5406 GB, free: 7.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.863e-06/0.4037, allocations: 1.062 kB / 0.5406 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.4038, allocations: 11.91 kB / 0.5406 GB, free: 7.051 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001186/0.4039, allocations: 316 kB / 0.5409 GB, free: 6.734 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-06/0.4039, allocations: 0 / 0.5409 GB, free: 6.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.889e-05/0.4039, allocations: 16.03 kB / 0.5409 GB, free: 6.715 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.692e-05/0.404, allocations: 79.27 kB / 0.541 GB, free: 6.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.468e-05/0.404, allocations: 76.72 kB / 0.5411 GB, free: 6.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.806e-05/0.4041, allocations: 32.17 kB / 0.5411 GB, free: 6.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.588e-05/0.4041, allocations: 79.88 kB / 0.5412 GB, free: 6.453 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.421e-05/0.4041, allocations: 76.53 kB / 0.5413 GB, free: 6.379 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.466e-05/0.4042, allocations: 163.8 kB / 0.5414 GB, free: 6.219 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.029e-05/0.4043, allocations: 75.28 kB / 0.5415 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-05/0.4043, allocations: 163.6 kB / 0.5416 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001061/0.4044, allocations: 80.42 kB / 0.5417 GB, free: 5.906 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.051e-05/0.4045, allocations: 80.34 kB / 0.5418 GB, free: 5.828 MB / 398.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.0001234/0.4046, allocations: 266.7 kB / 0.542 GB, free: 5.559 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.903e-05/0.4047, allocations: 111.1 kB / 0.5421 GB, free: 5.445 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.537e-05/0.4047, allocations: 108.9 kB / 0.5423 GB, free: 5.336 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.804e-05/0.4048, allocations: 182 kB / 0.5424 GB, free: 5.152 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-05/0.4048, allocations: 109 kB / 0.5425 GB, free: 5.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.901e-05/0.4049, allocations: 183.4 kB / 0.5427 GB, free: 4.836 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.74e-05/0.405, allocations: 185.2 kB / 0.5429 GB, free: 4.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.37e-05/0.4051, allocations: 106.2 kB / 0.543 GB, free: 4.539 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.4052, allocations: 186.2 kB / 0.5432 GB, free: 4.352 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.265e-05/0.4053, allocations: 256.7 kB / 0.5434 GB, free: 4.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000177/0.4055, allocations: 383.1 kB / 0.5438 GB, free: 3.699 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.649e-05/0.4055, allocations: 102.7 kB / 0.5439 GB, free: 3.594 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.221e-05/0.4056, allocations: 84.55 kB / 0.5439 GB, free: 3.512 MB / 398.1 MB Notification: Performance of Backend: time 3.81e-07/0.4056, allocations: 0 / 0.5439 GB, free: 3.512 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003606/0.4059, allocations: 75.44 kB / 0.544 GB, free: 3.445 MB / 398.1 MB Notification: Performance of SimCode: time 0.0005585/0.4065, allocations: 0.9036 MB / 0.5449 GB, free: 2.496 MB / 398.1 MB Notification: Performance of Templates: time 0.002465/0.409, allocations: 296.2 kB / 0.5452 GB, free: 2.34 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.makefile (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 & ./ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Utilities.TestExamplesCalculator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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) Reference file matches