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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001436/0.001436, allocations: 109.7 kB / 18.33 MB, free: 4.078 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 185.9 kB / 21.5 MB, free: 0.9219 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.671/1.671, allocations: 207.6 MB / 232.1 MB, free: 11.11 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.2351/0.2351, allocations: 44.24 MB / 328.4 MB, free: 10.07 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 70.08 kB / 465.5 MB, free: 4.957 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1407, allocations: 61 MB / 0.5142 GB, free: 7.816 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.001907/0.1426, allocations: 0.5024 MB / 0.5147 GB, free: 7.32 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007189/0.1433, allocations: 251.2 kB / 0.5149 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.122e-05/0.1434, allocations: 0 / 0.5149 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 2.184e-05/0.1434, allocations: 0 / 0.5149 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 9.398e-06/0.1434, allocations: 0 / 0.5149 GB, free: 7.074 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003726/0.1438, allocations: 71.73 kB / 0.515 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 5.738e-05/0.1438, allocations: 0 / 0.515 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.905e-05/0.1439, allocations: 0 / 0.515 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.994e-05/0.1439, allocations: 0 / 0.515 GB, free: 7.004 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.69e-05/0.1439, allocations: 4 kB / 0.515 GB, free: 7 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.159e-05/0.1439, allocations: 0 / 0.515 GB, free: 7 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001623/0.1441, allocations: 67.94 kB / 0.515 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.865e-06/0.1441, allocations: 0 / 0.515 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 2.069e-05/0.1441, allocations: 0 / 0.515 GB, free: 6.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001578/0.1443, allocations: 59.81 kB / 0.5151 GB, free: 6.875 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1443, allocations: 0 / 0.5151 GB, free: 6.875 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1443, allocations: 4 kB / 0.5151 GB, free: 6.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.233e-06/0.1443, allocations: 0 / 0.5151 GB, free: 6.871 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.0004256/0.1447, allocations: 357.1 kB / 0.5154 GB, free: 6.465 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.72e-05/0.1448, allocations: 15.84 kB / 0.5155 GB, free: 6.449 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.062e-05/0.1448, allocations: 4.891 kB / 0.5155 GB, free: 6.445 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001415/0.1449, allocations: 168.4 kB / 0.5156 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.145, allocations: 384 / 0.5156 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.865e-06/0.145, allocations: 384 / 0.5156 GB, free: 6.242 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.1451, allocations: 26.27 kB / 0.5157 GB, free: 6.211 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1451, allocations: 8.188 kB / 0.5157 GB, free: 6.203 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.1451, allocations: 3.938 kB / 0.5157 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.1451, allocations: 0 / 0.5157 GB, free: 6.199 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.36e-05/0.1451, allocations: 7.938 kB / 0.5157 GB, free: 6.191 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.1453, allocations: 149.7 kB / 0.5158 GB, free: 5.996 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.564e-05/0.1454, allocations: 22.61 kB / 0.5158 GB, free: 5.965 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.775e-05/0.1454, allocations: 6 kB / 0.5158 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.827e-06/0.1454, allocations: 0 / 0.5158 GB, free: 5.957 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.559e-05/0.1454, allocations: 64.33 kB / 0.5159 GB, free: 5.879 MB / 398.1 MB Notification: Performance of pre-optimization done (n=1): time 1.252e-06/0.1454, allocations: 3.938 kB / 0.5159 GB, free: 5.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001994/0.1456, allocations: 75.27 kB / 0.516 GB, free: 5.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.27e-05/0.1457, allocations: 77.11 kB / 0.5161 GB, free: 5.695 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.813e-05/0.1458, allocations: 93.8 kB / 0.5161 GB, free: 5.594 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.615e-05/0.1458, allocations: 25.7 kB / 0.5162 GB, free: 5.562 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.1458, allocations: 80.14 kB / 0.5162 GB, free: 5.48 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.054e-05/0.1459, allocations: 4.125 kB / 0.5162 GB, free: 5.477 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.385e-05/0.1459, allocations: 17.72 kB / 0.5163 GB, free: 5.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.1461, allocations: 310.8 kB / 0.5166 GB, free: 5.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.073e-05/0.1461, allocations: 0 / 0.5166 GB, free: 5.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.905e-06/0.1461, allocations: 3.984 kB / 0.5166 GB, free: 5.137 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.39e-05/0.1461, allocations: 60.27 kB / 0.5166 GB, free: 5.062 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1461, allocations: 3.938 kB / 0.5166 GB, free: 5.059 MB / 398.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 8.71e-05/0.1462, allocations: 67.47 kB / 0.5167 GB, free: 4.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.533e-05/0.1463, allocations: 29.7 kB / 0.5167 GB, free: 4.945 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1463, allocations: 4 kB / 0.5167 GB, free: 4.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1463, allocations: 7.922 kB / 0.5167 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.1463, allocations: 0 / 0.5167 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.1463, allocations: 0 / 0.5167 GB, free: 4.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.826e-05/0.1463, allocations: 3.938 kB / 0.5167 GB, free: 4.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1463, allocations: 0 / 0.5167 GB, free: 4.93 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.000106/0.1464, allocations: 135.5 kB / 0.5169 GB, free: 4.781 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-06/0.1464, allocations: 4.031 kB / 0.5169 GB, free: 4.777 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.463e-05/0.1464, allocations: 7.062 kB / 0.5169 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.1464, allocations: 0 / 0.5169 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.1464, allocations: 0 / 0.5169 GB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.1465, allocations: 8 kB / 0.5169 GB, free: 4.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.1466, allocations: 145.7 kB / 0.517 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.1466, allocations: 0 / 0.517 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1466, allocations: 0 / 0.517 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.1466, allocations: 0 / 0.517 GB, free: 4.566 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.1466, allocations: 3.938 kB / 0.517 GB, free: 4.562 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.1466, allocations: 4 kB / 0.517 GB, free: 4.559 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.988e-05/0.1466, allocations: 7.938 kB / 0.517 GB, free: 4.551 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.1467, allocations: 86.83 kB / 0.5171 GB, free: 4.441 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.954e-05/0.1468, allocations: 85.11 kB / 0.5172 GB, free: 4.34 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1468, allocations: 7.875 kB / 0.5172 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.286e-06/0.1468, allocations: 0 / 0.5172 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.178e-05/0.1468, allocations: 0 / 0.5172 GB, free: 4.332 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-06/0.1468, allocations: 3.984 kB / 0.5172 GB, free: 4.328 MB / 398.1 MB Notification: Performance of sorting global known variables: time 4.815e-05/0.1469, allocations: 83.3 kB / 0.5173 GB, free: 4.246 MB / 398.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1469, allocations: 4 kB / 0.5173 GB, free: 4.242 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002348/0.1471, allocations: 15.94 kB / 0.5173 GB, free: 4.227 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.0006584/0.1477, allocations: 271 kB / 0.5176 GB, free: 3.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001187/0.1479, allocations: 63.34 kB / 0.5176 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1479, allocations: 0 / 0.5176 GB, free: 3.906 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.839e-05/0.1479, allocations: 59.39 kB / 0.5177 GB, free: 3.836 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.148, allocations: 4 kB / 0.5177 GB, free: 3.832 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002103/0.1482, allocations: 84.86 kB / 0.5178 GB, free: 3.723 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003702/0.1486, allocations: 0.669 MB / 0.5184 GB, free: 3.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.66e-06/0.1486, allocations: 4 kB / 0.5184 GB, free: 3.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.1486, allocations: 7.438 kB / 0.5184 GB, free: 3.016 MB / 398.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1486, allocations: 128 / 0.5184 GB, free: 3.016 MB / 398.1 MB Notification: Performance of Templates: time 0.003717/0.1524, allocations: 0.797 MB / 0.5192 GB, free: 2.219 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.258089417591691]