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.001266/0.001267, allocations: 111.6 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.001429/0.001429, 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.323/1.323, allocations: 227.4 MB / 247.6 MB, free: 10.52 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2096/0.2096, allocations: 46.1 MB / 345 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.00138, allocations: 79.88 kB / 482 MB, free: 4.156 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2979/0.2993, allocations: 62.44 MB / 0.5316 GB, free: 13.64 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.001444/0.3008, allocations: 492.3 kB / 0.5321 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002851/0.3037, allocations: 2.129 MB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.469e-05/0.3037, allocations: 1.375 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.497e-05/0.3037, allocations: 0 / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 1.568e-05/0.3038, allocations: 3.938 kB / 0.5342 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.3049, allocations: 401 kB / 0.5346 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 3.903e-05/0.3049, allocations: 6.734 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.305, allocations: 5.375 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.318e-05/0.305, allocations: 1.375 kB / 0.5346 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0147/0.3197, allocations: 3.357 MB / 0.5379 GB, free: 10.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.3197, allocations: 3.984 kB / 0.5379 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.904e-05/0.3198, allocations: 8.797 kB / 0.5379 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.774e-06/0.3198, allocations: 0 / 0.5379 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 1.874e-05/0.3198, allocations: 1.625 kB / 0.5379 GB, free: 10.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.32, allocations: 7.906 kB / 0.5379 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.32, allocations: 1.25 kB / 0.5379 GB, free: 10.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.32, allocations: 0 / 0.5379 GB, free: 10.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.32, allocations: 0 / 0.5379 GB, free: 10.07 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.0002592/0.3202, allocations: 313.2 kB / 0.5382 GB, free: 9.719 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.3203, allocations: 12.72 kB / 0.5382 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001822/0.3205, allocations: 82.03 kB / 0.5383 GB, free: 9.641 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.3206, allocations: 243.7 kB / 0.5385 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.202e-05/0.3207, allocations: 152.5 kB / 0.5387 GB, free: 9.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.527e-05/0.3207, allocations: 154.7 kB / 0.5388 GB, free: 9.062 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.355e-05/0.3208, allocations: 108.9 kB / 0.5389 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.505e-05/0.3208, allocations: 80.62 kB / 0.539 GB, free: 8.871 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.3208, allocations: 154.6 kB / 0.5391 GB, free: 8.719 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.335e-05/0.3209, allocations: 152.3 kB / 0.5393 GB, free: 8.57 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.98e-05/0.3209, allocations: 150.6 kB / 0.5394 GB, free: 8.422 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000252/0.3212, allocations: 451.8 kB / 0.5399 GB, free: 7.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.3213, allocations: 165.1 kB / 0.54 GB, free: 7.762 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.29e-05/0.3213, allocations: 88.02 kB / 0.5401 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3213, allocations: 76.78 kB / 0.5402 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.3214, allocations: 109.8 kB / 0.5403 GB, free: 7.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.3214, allocations: 5.531 kB / 0.5403 GB, free: 7.477 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.029e-05/0.3215, allocations: 26.95 kB / 0.5403 GB, free: 7.445 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.106e-05/0.3215, allocations: 102.8 kB / 0.5404 GB, free: 7.32 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.059e-05/0.3216, allocations: 91.36 kB / 0.5405 GB, free: 7.223 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.3216, allocations: 26.64 kB / 0.5405 GB, free: 7.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.396e-05/0.3217, allocations: 80.14 kB / 0.5406 GB, free: 7.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-06/0.3217, allocations: 0.875 kB / 0.5406 GB, free: 7.109 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.967e-05/0.3217, allocations: 20.08 kB / 0.5406 GB, free: 7.086 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 8.941e-05/0.3218, allocations: 319 kB / 0.5409 GB, free: 6.766 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.651e-06/0.3218, allocations: 1.375 kB / 0.5409 GB, free: 6.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.312e-05/0.3219, allocations: 15.25 kB / 0.5409 GB, free: 6.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.418e-05/0.3219, allocations: 76.78 kB / 0.541 GB, free: 6.672 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.223e-05/0.3219, allocations: 75.28 kB / 0.5411 GB, free: 6.598 MB / 398.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.434e-05/0.322, allocations: 32.05 kB / 0.5411 GB, free: 6.562 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/0.322, allocations: 80.47 kB / 0.5412 GB, free: 6.488 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.925e-05/0.322, allocations: 84.34 kB / 0.5413 GB, free: 6.406 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.147e-05/0.3221, allocations: 155.7 kB / 0.5414 GB, free: 6.254 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.981e-05/0.3221, allocations: 75.28 kB / 0.5415 GB, free: 6.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.632e-05/0.3222, allocations: 159.6 kB / 0.5416 GB, free: 6.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.646e-05/0.3223, allocations: 81.55 kB / 0.5417 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.498e-05/0.3223, allocations: 80.44 kB / 0.5418 GB, free: 5.867 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 9.822e-05/0.3224, allocations: 262.6 kB / 0.542 GB, free: 5.602 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.861e-05/0.3225, allocations: 106.1 kB / 0.5421 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.149e-05/0.3225, allocations: 113 kB / 0.5422 GB, free: 5.379 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.659e-05/0.3226, allocations: 189.4 kB / 0.5424 GB, free: 5.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.088e-05/0.3226, allocations: 105 kB / 0.5425 GB, free: 5.078 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.472e-05/0.3227, allocations: 191.1 kB / 0.5427 GB, free: 4.867 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.353e-05/0.3227, allocations: 182.6 kB / 0.5429 GB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.68e-05/0.3228, allocations: 102.1 kB / 0.543 GB, free: 4.578 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.686e-05/0.3229, allocations: 181.3 kB / 0.5432 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.2e-05/0.323, allocations: 260.6 kB / 0.5434 GB, free: 4.133 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001496/0.3232, allocations: 383.8 kB / 0.5438 GB, free: 3.738 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.965e-05/0.3232, allocations: 110.3 kB / 0.5439 GB, free: 3.625 MB / 398.1 MB Notification: Performance of sorting global known variables: time 3.033e-05/0.3232, allocations: 76.59 kB / 0.5439 GB, free: 3.551 MB / 398.1 MB Notification: Performance of Backend: time 2.5e-07/0.3232, allocations: 0 / 0.5439 GB, free: 3.551 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003139/0.3236, allocations: 76.58 kB / 0.544 GB, free: 3.48 MB / 398.1 MB Notification: Performance of SimCode: time 0.0004195/0.324, allocations: 0.9062 MB / 0.5449 GB, free: 2.527 MB / 398.1 MB Notification: Performance of Templates: time 0.002107/0.3261, allocations: 301.3 kB / 0.5452 GB, free: 2.363 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