Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.001085/0.001085, allocations: 81.08 kB / 20.65 MB, free: 3.84 MB / 18.57 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.001238/0.001238, allocations: 173 kB / 24.06 MB, free: 452 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9235/0.9235, allocations: 158.6 MB / 185.9 MB, free: 2.781 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1379/0.1379, allocations: 32.38 MB / 270.7 MB, free: 14.54 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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.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.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") translateModel(ModelicaTest.Utilities.TestInternal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|result",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 348.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.056e-05/1.177e-05, allocations: 2.312 kB / 348.1 MB, free: 9.199 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0007999/0.0008117, allocations: 0.5042 MB / 348.6 MB, free: 8.699 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003649/0.001177, allocations: 259.1 kB / 348.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.833e-05/0.001195, allocations: 0 / 348.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 1.219e-05/0.001207, allocations: 0 / 348.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 4.98e-06/0.001212, allocations: 0 / 348.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002217/0.001434, allocations: 63.67 kB / 348.9 MB, free: 8.383 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 3.369e-05/0.001468, allocations: 4 kB / 348.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.413e-05/0.001492, allocations: 0 / 348.9 MB, free: 8.379 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.272e-05/0.001514, allocations: 4 kB / 348.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.159e-05/0.001536, allocations: 0 / 348.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.855e-06/0.001544, allocations: 0 / 348.9 MB, free: 8.375 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.832e-05/0.001642, allocations: 63.89 kB / 349 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.242e-06/0.001648, allocations: 0 / 349 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 1.184e-05/0.00166, allocations: 0 / 349 MB, free: 8.312 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.418e-05/0.001744, allocations: 71.78 kB / 349.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.833e-06/0.001746, allocations: 0 / 349.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.001747, allocations: 0 / 349.1 MB, free: 8.242 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.00175, allocations: 0 / 349.1 MB, free: 8.242 MB / 282.7 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.000174/0.001924, allocations: 381.9 kB / 349.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.121e-05/0.001955, allocations: 8.031 kB / 349.4 MB, free: 7.816 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.129e-05/0.001976, allocations: 12.88 kB / 349.4 MB, free: 7.805 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 3.004e-05/0.002006, allocations: 104.6 kB / 349.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.744e-06/0.002014, allocations: 384 / 349.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-06/0.002019, allocations: 384 / 349.5 MB, free: 7.676 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.744e-05/0.002066, allocations: 59.95 kB / 349.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.441e-06/0.002072, allocations: 192 / 349.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.368e-06/0.002076, allocations: 384 / 349.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.002081, allocations: 384 / 349.6 MB, free: 7.605 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.168e-05/0.002092, allocations: 33.64 kB / 349.6 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.09e-05/0.002143, allocations: 93.27 kB / 349.7 MB, free: 7.449 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.745e-05/0.002171, allocations: 60.73 kB / 349.8 MB, free: 7.371 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.328e-06/0.00218, allocations: 37.39 kB / 349.8 MB, free: 7.324 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.567e-06/0.002184, allocations: 3.984 kB / 349.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/0.002206, allocations: 71.12 kB / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.002206, allocations: 0 / 349.9 MB, free: 7.234 MB / 282.7 MB Notification: Performance of matching and sorting (n=1): time 9.627e-05/0.002303, allocations: 114.8 kB / 350 MB, free: 7.098 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.489e-05/0.002318, allocations: 81.05 kB / 350.1 MB, free: 7 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.702e-05/0.002335, allocations: 146.2 kB / 350.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.447e-06/0.002338, allocations: 25.7 kB / 350.3 MB, free: 6.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.387e-06/0.002347, allocations: 134.9 kB / 350.4 MB, free: 6.676 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.1e-05/0.002358, allocations: 4 kB / 350.4 MB, free: 6.672 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.569e-05/0.002374, allocations: 15.38 kB / 350.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.855e-05/0.002413, allocations: 0.4883 MB / 350.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.015e-06/0.002421, allocations: 25.7 kB / 350.9 MB, free: 6.117 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.382e-06/0.002427, allocations: 25.7 kB / 350.9 MB, free: 6.086 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.569e-05/0.002453, allocations: 63.09 kB / 351 MB, free: 6.008 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.002454, allocations: 0 / 351 MB, free: 6.008 MB / 282.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.321e-05/0.002487, allocations: 97.03 kB / 351.1 MB, free: 5.895 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.002503, allocations: 29.7 kB / 351.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.002507, allocations: 8.094 kB / 351.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.963e-06/0.002514, allocations: 4 kB / 351.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.002515, allocations: 0 / 351.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.104e-06/0.002517, allocations: 0 / 351.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.995e-06/0.002525, allocations: 352 / 351.1 MB, free: 5.848 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.002529, allocations: 0 / 351.1 MB, free: 5.848 MB / 282.7 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 3.547e-05/0.002564, allocations: 190.2 kB / 351.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.416e-06/0.002568, allocations: 0 / 351.3 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.175e-06/0.002576, allocations: 3 kB / 351.3 MB, free: 5.641 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.002577, allocations: 4 kB / 351.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.482e-06/0.002579, allocations: 4 kB / 351.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.454e-06/0.002581, allocations: 0 / 351.3 MB, free: 5.633 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 2.867e-05/0.00261, allocations: 97.16 kB / 351.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.61e-07/0.00261, allocations: 0 / 351.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.002611, allocations: 0 / 351.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.002612, allocations: 3.984 kB / 351.4 MB, free: 5.508 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.002616, allocations: 7.984 kB / 351.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.002617, allocations: 0 / 351.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.71e-07/0.002617, allocations: 0 / 351.4 MB, free: 5.5 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.14e-05/0.002669, allocations: 135.7 kB / 351.6 MB, free: 5.332 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.387e-06/0.002672, allocations: 4.031 kB / 351.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-06/0.00268, allocations: 4 kB / 351.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.998e-06/0.002684, allocations: 0 / 351.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.643e-06/0.002691, allocations: 0 / 351.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.072e-06/0.002692, allocations: 0 / 351.6 MB, free: 5.324 MB / 282.7 MB Notification: Performance of sorting global known variables: time 1.17e-05/0.002703, allocations: 119.2 kB / 351.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002703, allocations: 3.938 kB / 351.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001314/0.002835, allocations: 27.92 kB / 351.7 MB, free: 5.176 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.000363/0.003198, allocations: 305.2 kB / 352 MB, free: 4.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 6.004e-05/0.003258, allocations: 114.5 kB / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.122e-06/0.003259, allocations: 0 / 352.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 1.443e-05/0.003273, allocations: 92.73 kB / 352.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.789e-05/0.003351, allocations: 19.92 kB / 352.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 9.973e-05/0.003451, allocations: 109.7 kB / 352.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.593e-05/0.003467, allocations: 55.48 kB / 352.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.719e-06/0.003472, allocations: 0 / 352.4 MB, free: 4.457 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.466e-05/0.003496, allocations: 74.19 kB / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of SimCode: time 4.71e-07/0.003497, allocations: 0 / 352.5 MB, free: 4.383 MB / 282.7 MB Notification: Performance of Templates: time 0.001848/0.005344, allocations: 0.9341 MB / 353.4 MB, free: 3.449 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8490622099488974]