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.001446/0.001446, allocations: 105 kB / 20.44 MB, free: 1.504 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.001637/0.001637, allocations: 218.3 kB / 23.76 MB, free: 4.723 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.296/1.296, allocations: 207.6 MB / 234.5 MB, free: 10 MB / 190.1 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.2003/0.2003, allocations: 44.24 MB / 331 MB, free: 9.523 MB / 270.1 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: 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.002132/0.002132, allocations: 78.47 kB / 468.7 MB, free: 4.031 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1134/0.1156, allocations: 61.03 MB / 0.5173 GB, free: 6.863 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001792/0.1174, allocations: 0.4948 MB / 0.5178 GB, free: 6.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.000707/0.1181, allocations: 261 kB / 0.5181 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.207e-05/0.1181, allocations: 0 / 0.5181 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 1.29e-05/0.1181, allocations: 0 / 0.5181 GB, free: 6.113 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 8.496e-06/0.1181, allocations: 3.938 kB / 0.5181 GB, free: 6.109 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003622/0.1185, allocations: 55.8 kB / 0.5181 GB, free: 6.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.985e-05/0.1185, allocations: 4 kB / 0.5181 GB, free: 6.051 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.477e-05/0.1186, allocations: 7.938 kB / 0.5181 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.715e-05/0.1186, allocations: 0 / 0.5181 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.096e-05/0.1186, allocations: 0 / 0.5181 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-06/0.1186, allocations: 0 / 0.5181 GB, free: 6.043 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000179/0.1188, allocations: 67.94 kB / 0.5182 GB, free: 5.977 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.388e-06/0.1188, allocations: 4 kB / 0.5182 GB, free: 5.973 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.588e-05/0.1188, allocations: 4 kB / 0.5182 GB, free: 5.969 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.119, allocations: 55.81 kB / 0.5183 GB, free: 5.914 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.119, allocations: 0 / 0.5183 GB, free: 5.914 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.119, allocations: 0 / 0.5183 GB, free: 5.914 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.119, allocations: 0 / 0.5183 GB, free: 5.914 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.0003888/0.1194, allocations: 284 kB / 0.5185 GB, free: 5.598 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1194, allocations: 8.031 kB / 0.5185 GB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.323e-05/0.1195, allocations: 4.891 kB / 0.5186 GB, free: 5.586 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.84e-05/0.1196, allocations: 106.5 kB / 0.5187 GB, free: 5.457 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.252e-05/0.1196, allocations: 8.375 kB / 0.5187 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.1196, allocations: 384 / 0.5187 GB, free: 5.449 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.1197, allocations: 42.19 kB / 0.5187 GB, free: 5.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.1197, allocations: 8.172 kB / 0.5187 GB, free: 5.395 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.1197, allocations: 3.938 kB / 0.5187 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1197, allocations: 0 / 0.5187 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.697e-05/0.1198, allocations: 0 / 0.5187 GB, free: 5.391 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001461/0.1199, allocations: 112.8 kB / 0.5188 GB, free: 5.238 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.559e-05/0.12, allocations: 22.58 kB / 0.5188 GB, free: 5.207 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.12, allocations: 8.844 kB / 0.5188 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.12, allocations: 0 / 0.5188 GB, free: 5.195 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.61e-05/0.12, allocations: 72.2 kB / 0.5189 GB, free: 5.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.12, allocations: 0 / 0.5189 GB, free: 5.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002043/0.1203, allocations: 63.34 kB / 0.519 GB, free: 5.035 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.1203, allocations: 77.11 kB / 0.5191 GB, free: 4.941 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.137e-05/0.1204, allocations: 97.97 kB / 0.5191 GB, free: 4.836 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.9e-05/0.1205, allocations: 25.7 kB / 0.5192 GB, free: 4.805 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.1205, allocations: 80.14 kB / 0.5192 GB, free: 4.723 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.42e-05/0.1206, allocations: 0 / 0.5192 GB, free: 4.723 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.507e-05/0.1206, allocations: 17.72 kB / 0.5193 GB, free: 4.699 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1208, allocations: 310.8 kB / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.413e-05/0.1208, allocations: 0 / 0.5196 GB, free: 4.387 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.596e-05/0.1208, allocations: 4 kB / 0.5196 GB, free: 4.383 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.242e-05/0.1209, allocations: 64.27 kB / 0.5196 GB, free: 4.305 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.1209, allocations: 0 / 0.5196 GB, free: 4.305 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001207/0.121, allocations: 67.39 kB / 0.5197 GB, free: 4.227 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.1211, allocations: 33.7 kB / 0.5197 GB, free: 4.188 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.1211, allocations: 3.938 kB / 0.5197 GB, free: 4.184 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.241e-05/0.1211, allocations: 3.938 kB / 0.5197 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-06/0.1211, allocations: 0 / 0.5197 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1211, allocations: 0 / 0.5197 GB, free: 4.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.1211, allocations: 3.938 kB / 0.5197 GB, free: 4.176 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1211, allocations: 4.031 kB / 0.5197 GB, free: 4.172 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.0001164/0.1212, allocations: 139.5 kB / 0.5199 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.1213, allocations: 0 / 0.5199 GB, free: 4.02 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.478e-05/0.1213, allocations: 6.938 kB / 0.5199 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.1213, allocations: 0 / 0.5199 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1213, allocations: 0 / 0.5199 GB, free: 4.016 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1213, allocations: 4 kB / 0.5199 GB, free: 4.012 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1214, allocations: 120.8 kB / 0.52 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/0.1214, allocations: 3.984 kB / 0.52 GB, free: 3.848 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.1214, allocations: 3.938 kB / 0.52 GB, free: 3.844 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1214, allocations: 4 kB / 0.52 GB, free: 3.84 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.1214, allocations: 7.938 kB / 0.52 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1214, allocations: 0 / 0.52 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1214, allocations: 0 / 0.52 GB, free: 3.832 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001168/0.1215, allocations: 90.83 kB / 0.5201 GB, free: 3.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.288e-06/0.1215, allocations: 3.938 kB / 0.5201 GB, free: 3.715 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.1215, allocations: 3.938 kB / 0.5201 GB, free: 3.711 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.1216, allocations: 4.031 kB / 0.5201 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.363e-05/0.1216, allocations: 0 / 0.5201 GB, free: 3.707 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.1216, allocations: 4 kB / 0.5201 GB, free: 3.703 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.015e-05/0.1216, allocations: 75.28 kB / 0.5202 GB, free: 3.629 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1216, allocations: 0 / 0.5202 GB, free: 3.629 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00027/0.1219, allocations: 27.92 kB / 0.5202 GB, free: 3.602 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.0007497/0.1226, allocations: 260.7 kB / 0.5205 GB, free: 3.371 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001097/0.1227, allocations: 63.34 kB / 0.5205 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1227, allocations: 0 / 0.5205 GB, free: 3.297 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.1228, allocations: 55.41 kB / 0.5206 GB, free: 3.23 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001507/0.1229, allocations: 4 kB / 0.5206 GB, free: 3.227 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.1232, allocations: 110.5 kB / 0.5207 GB, free: 3.086 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1235, allocations: 0.6768 MB / 0.5213 GB, free: 2.383 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.1235, allocations: 7.438 kB / 0.5214 GB, free: 2.375 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1235, allocations: 0 / 0.5214 GB, free: 2.375 MB / 398.1 MB Notification: Performance of Templates: time 0.003059/0.1266, allocations: 0.9559 MB / 0.5223 GB, free: 1.418 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Utilities/TestInternal/TestInternal.csv","/var/lib/jenkins1/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: 6.3704873288515955]