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.002043/0.002043, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.002148/0.002148, allocations: 208.8 kB / 22.99 MB, free: 4.605 MB / 14.72 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 1.74/1.74, allocations: 207.7 MB / 233.8 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] 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.2363/0.2363, allocations: 44.26 MB / 330.3 MB, free: 9.422 MB / 270.1 MB " [Timeout remaining time 179] 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002273/0.002273, allocations: 71.84 kB / 468 MB, free: 3.887 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1349, allocations: 61.04 MB / 0.5166 GB, free: 6.711 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001635/0.1365, allocations: 494.6 kB / 0.5171 GB, free: 6.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.1373, allocations: 261 kB / 0.5173 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.193e-05/0.1373, allocations: 0 / 0.5173 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.399e-05/0.1373, allocations: 0 / 0.5173 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 5.46e-06/0.1373, allocations: 0 / 0.5173 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.1376, allocations: 63.73 kB / 0.5174 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.1377, allocations: 4 kB / 0.5174 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.1377, allocations: 0 / 0.5174 GB, free: 5.91 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.8e-05/0.1377, allocations: 3.938 kB / 0.5174 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.542e-05/0.1377, allocations: 0 / 0.5174 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.466e-06/0.1378, allocations: 0 / 0.5174 GB, free: 5.906 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001631/0.1379, allocations: 63.95 kB / 0.5175 GB, free: 5.844 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.253e-06/0.1379, allocations: 4 kB / 0.5175 GB, free: 5.84 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.138, allocations: 11.92 kB / 0.5175 GB, free: 5.828 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000132/0.1381, allocations: 51.88 kB / 0.5175 GB, free: 5.777 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1381, allocations: 0 / 0.5175 GB, free: 5.777 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1381, allocations: 0 / 0.5175 GB, free: 5.777 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.541e-06/0.1381, allocations: 4 kB / 0.5175 GB, free: 5.773 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.0003863/0.1385, allocations: 283.9 kB / 0.5178 GB, free: 5.457 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1385, allocations: 8.031 kB / 0.5178 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.979e-05/0.1385, allocations: 4.891 kB / 0.5178 GB, free: 5.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.917e-05/0.1386, allocations: 106.5 kB / 0.5179 GB, free: 5.316 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.378e-05/0.1387, allocations: 4.375 kB / 0.5179 GB, free: 5.312 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.358e-05/0.1387, allocations: 4.359 kB / 0.5179 GB, free: 5.309 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001078/0.1388, allocations: 59.97 kB / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.1388, allocations: 192 / 0.518 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.1388, allocations: 3.938 kB / 0.518 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.1388, allocations: 0 / 0.518 GB, free: 5.234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.393e-05/0.1388, allocations: 29.7 kB / 0.518 GB, free: 5.199 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000135/0.139, allocations: 101.3 kB / 0.5181 GB, free: 5.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.827e-05/0.1391, allocations: 48.3 kB / 0.5182 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.078e-05/0.1391, allocations: 30.56 kB / 0.5182 GB, free: 4.969 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.1391, allocations: 4 kB / 0.5182 GB, free: 4.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.65e-05/0.1392, allocations: 60.33 kB / 0.5183 GB, free: 4.891 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.1392, allocations: 0 / 0.5183 GB, free: 4.891 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002206/0.1394, allocations: 126.7 kB / 0.5184 GB, free: 4.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.978e-05/0.1395, allocations: 77.11 kB / 0.5184 GB, free: 4.648 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.137e-05/0.1395, allocations: 89.86 kB / 0.5185 GB, free: 4.551 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1395, allocations: 25.7 kB / 0.5186 GB, free: 4.52 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.519e-05/0.1396, allocations: 80.14 kB / 0.5186 GB, free: 4.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.1396, allocations: 4 kB / 0.5186 GB, free: 4.434 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.1396, allocations: 13.72 kB / 0.5187 GB, free: 4.414 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1398, allocations: 315 kB / 0.519 GB, free: 4.098 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.608e-05/0.1398, allocations: 29.7 kB / 0.519 GB, free: 4.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.212e-05/0.1398, allocations: 29.69 kB / 0.519 GB, free: 4.027 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.135e-05/0.1399, allocations: 64.2 kB / 0.5191 GB, free: 3.949 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.1399, allocations: 0 / 0.5191 GB, free: 3.949 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.199e-05/0.14, allocations: 93.05 kB / 0.5192 GB, free: 3.84 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.707e-05/0.14, allocations: 33.69 kB / 0.5192 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.718e-06/0.14, allocations: 0 / 0.5192 GB, free: 3.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.14, allocations: 3.938 kB / 0.5192 GB, free: 3.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.256e-06/0.14, allocations: 12.03 kB / 0.5192 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.14, allocations: 0 / 0.5192 GB, free: 3.785 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.636e-05/0.1401, allocations: 3.938 kB / 0.5192 GB, free: 3.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.142e-06/0.1401, allocations: 0 / 0.5192 GB, free: 3.781 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: 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.000101/0.1402, allocations: 135.5 kB / 0.5193 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.804e-06/0.1402, allocations: 0 / 0.5193 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.814e-06/0.1402, allocations: 3 kB / 0.5193 GB, free: 3.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.1402, allocations: 3.938 kB / 0.5193 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.1402, allocations: 0 / 0.5193 GB, free: 3.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.848e-06/0.1402, allocations: 11.97 kB / 0.5194 GB, free: 3.617 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.61e-05/0.1403, allocations: 105.3 kB / 0.5195 GB, free: 3.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1403, allocations: 4 kB / 0.5195 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1403, allocations: 0 / 0.5195 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.1403, allocations: 0 / 0.5195 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.1403, allocations: 0 / 0.5195 GB, free: 3.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1403, allocations: 4 kB / 0.5195 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1403, allocations: 3.938 kB / 0.5195 GB, free: 3.473 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.1404, allocations: 120.5 kB / 0.5196 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.108e-06/0.1404, allocations: 0 / 0.5196 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.061e-05/0.1404, allocations: 0 / 0.5196 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.115e-06/0.1404, allocations: 0 / 0.5196 GB, free: 3.324 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.847e-05/0.1405, allocations: 11.97 kB / 0.5196 GB, free: 3.312 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.1405, allocations: 3.984 kB / 0.5196 GB, free: 3.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.16e-05/0.1405, allocations: 75.28 kB / 0.5197 GB, free: 3.234 MB / 398.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1405, allocations: 0 / 0.5197 GB, free: 3.234 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.1407, allocations: 23.94 kB / 0.5197 GB, free: 3.211 MB / 398.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: 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.0006676/0.1414, allocations: 276.7 kB / 0.52 GB, free: 2.957 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.1415, allocations: 114.8 kB / 0.5201 GB, free: 2.82 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.326e-06/0.1415, allocations: 4 kB / 0.5201 GB, free: 2.816 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.409e-05/0.1416, allocations: 85.05 kB / 0.5202 GB, free: 2.715 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.1417, allocations: 3.938 kB / 0.5202 GB, free: 2.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.1419, allocations: 106.6 kB / 0.5203 GB, free: 2.574 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.14e-05/0.142, allocations: 59.34 kB / 0.5203 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.87e-06/0.142, allocations: 0 / 0.5203 GB, free: 2.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.402e-05/0.142, allocations: 7.438 kB / 0.5203 GB, free: 2.488 MB / 398.1 MB Notification: Performance of SimCode: time 2.91e-07/0.142, allocations: 128 / 0.5203 GB, free: 2.488 MB / 398.1 MB Notification: Performance of Templates: time 0.003479/0.1455, allocations: 0.7895 MB / 0.5211 GB, free: 1.699 MB / 398.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestInternal.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.525232143700123]