Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001502/0.001502, allocations: 106.5 kB / 21.2 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00181/0.00181, allocations: 216.6 kB / 24.49 MB, free: 3.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.534/1.534, allocations: 230.6 MB / 258.3 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2355/0.2355, allocations: 46.96 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles") translateModel(ModelicaTest.Utilities.TestFiles,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002043/0.002043, allocations: 63.91 kB / 0.4973 GB, free: 7.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3735/0.3755, allocations: 66.04 MB / 0.5618 GB, free: 4.164 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestFiles): time 0.001706/0.3772, allocations: 485.1 kB / 0.5623 GB, free: 3.688 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002356/0.3796, allocations: 1.346 MB / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.3796, allocations: 0 / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.239e-05/0.3796, allocations: 0 / 0.5636 GB, free: 2.336 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002071/0.3798, allocations: 15.92 kB / 0.5636 GB, free: 2.32 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/Utilities.mo:455:3-487:12:writable] Warning: Pure function 'ModelicaTest.Utilities.Files' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.3811, allocations: 270.3 kB / 0.5639 GB, free: 2.059 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.398e-05/0.3812, allocations: 7.938 kB / 0.5639 GB, free: 2.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.089e-05/0.3812, allocations: 3.984 kB / 0.5639 GB, free: 2.047 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.269e-05/0.3812, allocations: 4 kB / 0.5639 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.375e-05/0.3813, allocations: 0 / 0.5639 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.156e-06/0.3813, allocations: 0 / 0.5639 GB, free: 2.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004446/0.3857, allocations: 0.7286 MB / 0.5646 GB, free: 1.441 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.554e-05/0.3857, allocations: 7.875 kB / 0.5646 GB, free: 1.434 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.3858, allocations: 4 kB / 0.5646 GB, free: 1.43 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003625/0.3861, allocations: 178.1 kB / 0.5648 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3861, allocations: 0 / 0.5648 GB, free: 1.262 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.3861, allocations: 0 / 0.5648 GB, free: 1.262 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.136e-05/0.3861, allocations: 0 / 0.5648 GB, free: 1.262 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004978/0.3866, allocations: 315.7 kB / 0.5651 GB, free: 0.918 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/0.3867, allocations: 12.03 kB / 0.5651 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.215e-05/0.3867, allocations: 0.9375 kB / 0.5651 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.3869, allocations: 106.5 kB / 0.5652 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3869, allocations: 384 / 0.5652 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.3869, allocations: 384 / 0.5652 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001189/0.387, allocations: 67.47 kB / 0.5652 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.387, allocations: 3.984 kB / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.387, allocations: 0 / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.147e-06/0.387, allocations: 0 / 0.5652 GB, free: 0.6953 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.674e-05/0.3871, allocations: 29.7 kB / 0.5653 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.3872, allocations: 97.33 kB / 0.5654 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.983e-05/0.3873, allocations: 52.25 kB / 0.5654 GB, free: 480 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.017e-05/0.3873, allocations: 30.56 kB / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.3873, allocations: 0 / 0.5654 GB, free: 440 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.81e-05/0.3874, allocations: 68.25 kB / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 8.82e-07/0.3874, allocations: 0 / 0.5655 GB, free: 356 kB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002359/0.3876, allocations: 118.8 kB / 0.5656 GB, free: 212 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.3877, allocations: 81.11 kB / 0.5657 GB, free: 112 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.883e-05/0.3878, allocations: 93.84 kB / 0.5658 GB, free: 8 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.3878, allocations: 29.95 kB / 0.5658 GB, free: 15.97 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.304e-05/0.3879, allocations: 84.14 kB / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.3879, allocations: 0 / 0.5659 GB, free: 15.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.089e-05/0.3879, allocations: 13.72 kB / 0.5659 GB, free: 15.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.3881, allocations: 314.8 kB / 0.5662 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.57e-05/0.3881, allocations: 25.7 kB / 0.5662 GB, free: 15.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.472e-05/0.3881, allocations: 33.69 kB / 0.5663 GB, free: 15.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.089e-05/0.3882, allocations: 64.2 kB / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3882, allocations: 0 / 0.5663 GB, free: 15.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001036/0.3883, allocations: 93.16 kB / 0.5664 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.999e-05/0.3883, allocations: 37.69 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3883, allocations: 3.938 kB / 0.5665 GB, free: 15.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3884, allocations: 3.938 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.046e-06/0.3884, allocations: 3.984 kB / 0.5665 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.3884, allocations: 4 kB / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.471e-05/0.3884, allocations: 0 / 0.5665 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.3884, allocations: 0 / 0.5665 GB, free: 15.23 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: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001172/0.3885, allocations: 135.5 kB / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.195e-06/0.3885, allocations: 0 / 0.5666 GB, free: 15.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.534e-05/0.3885, allocations: 7.094 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.3885, allocations: 7.984 kB / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.3885, allocations: 0 / 0.5666 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.3885, allocations: 8 kB / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.332e-05/0.3886, allocations: 0 / 0.5666 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.163e-05/0.3886, allocations: 4 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.3886, allocations: 3.938 kB / 0.5666 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002007/0.3888, allocations: 219.8 kB / 0.5668 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000222/0.389, allocations: 274.2 kB / 0.5671 GB, free: 14.51 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.847e-05/0.3891, allocations: 33.58 kB / 0.5671 GB, free: 14.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.628e-05/0.3891, allocations: 83.34 kB / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of Backend: time 4.2e-07/0.3891, allocations: 0 / 0.5672 GB, free: 14.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001212/0.3903, allocations: 408.4 kB / 0.5676 GB, free: 14.05 MB / 414.1 MB Notification: Performance of SimCode: time 0.0004986/0.3908, allocations: 0.5872 MB / 0.5682 GB, free: 13.4 MB / 414.1 MB Notification: Performance of Templates: time 0.005438/0.3963, allocations: 1.612 MB / 0.5698 GB, free: 11.79 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.sim & ./ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Utilities/TestFiles/TestFiles.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Utilities.TestFiles.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: 5.270070917998964]