Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008481/0.0008481, allocations: 96.28 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000852/0.0008521, allocations: 179.2 kB / 16.57 MB, free: 6.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3187/0.3187, allocations: 43.54 MB / 314.5 MB, free: 8.785 MB / 254.1 MB 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.0005303/0.0005304, allocations: 20 kB / 383.9 MB, free: 8.023 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1166/0.1172, allocations: 58.85 MB / 442.8 MB, free: 13.06 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.001846/0.1191, allocations: 1.352 MB / 444.1 MB, free: 11.7 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1202, allocations: 0.7189 MB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.1203, allocations: 4 kB / 444.8 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002579/0.1206, allocations: 27.84 kB / 444.9 MB, free: 10.94 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000196/0.1208, allocations: 55.8 kB / 444.9 MB, free: 10.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.121, allocations: 67.8 kB / 445 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.1212, allocations: 63.84 kB / 445 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.975e-05/0.1213, allocations: 7.984 kB / 445.1 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.528e-05/0.1214, allocations: 39.84 kB / 445.1 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.646e-05/0.1214, allocations: 27.86 kB / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.1215, allocations: 0 / 445.1 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.757e-05/0.1215, allocations: 23.98 kB / 445.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.174e-05/0.1216, allocations: 27.84 kB / 445.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.461e-05/0.1216, allocations: 41.64 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001358/0.1218, allocations: 92.03 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.1218, allocations: 0 / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1218, allocations: 0 / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.1218, allocations: 0 / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004894/0.1223, allocations: 422.6 kB / 445.7 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.604e-05/0.1223, allocations: 16.02 kB / 445.7 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.82e-05/0.1224, allocations: 11.81 kB / 445.7 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002169/0.1226, allocations: 198.9 kB / 445.9 MB, free: 9.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1226, allocations: 7.984 kB / 445.9 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.1227, allocations: 0 / 445.9 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/0.1228, allocations: 45.69 kB / 446 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.726e-06/0.1228, allocations: 7.984 kB / 446 MB, free: 9.707 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1228, allocations: 3.984 kB / 446 MB, free: 9.703 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.1229, allocations: 7.953 kB / 446 MB, free: 9.695 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.909e-05/0.1229, allocations: 19.88 kB / 446 MB, free: 9.676 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1231, allocations: 185.7 kB / 446.2 MB, free: 9.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.1233, allocations: 50.62 kB / 446.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.182e-05/0.1233, allocations: 4 kB / 446.3 MB, free: 9.383 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.1235, allocations: 75.31 kB / 446.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.232e-06/0.1235, allocations: 0 / 446.3 MB, free: 9.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000249/0.1238, allocations: 93.58 kB / 446.4 MB, free: 9.199 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.361e-05/0.1238, allocations: 59.36 kB / 446.5 MB, free: 9.129 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002322/0.124, allocations: 254.5 kB / 446.7 MB, free: 8.867 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1241, allocations: 33.7 kB / 446.8 MB, free: 8.828 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.664e-05/0.1241, allocations: 108.1 kB / 446.9 MB, free: 8.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.904e-05/0.1242, allocations: 15.8 kB / 446.9 MB, free: 8.703 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-06/0.1242, allocations: 4 kB / 446.9 MB, free: 8.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.1243, allocations: 326.8 kB / 447.2 MB, free: 8.371 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.755e-05/0.1243, allocations: 15.98 kB / 447.2 MB, free: 8.355 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.839e-05/0.1244, allocations: 29.64 kB / 447.3 MB, free: 8.32 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.808e-05/0.1245, allocations: 20 kB / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1245, allocations: 0 / 447.3 MB, free: 8.301 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001371/0.1246, allocations: 81.5 kB / 447.4 MB, free: 8.215 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1246, allocations: 8 kB / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1246, allocations: 0 / 447.4 MB, free: 8.207 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.1247, allocations: 3.984 kB / 447.4 MB, free: 8.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.39e-05/0.1247, allocations: 11.94 kB / 447.4 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1247, allocations: 4 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.493e-05/0.1248, allocations: 7.891 kB / 447.4 MB, free: 8.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.554e-06/0.1248, allocations: 8 kB / 447.4 MB, free: 8.172 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.1249, allocations: 137.8 kB / 447.5 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.949e-05/0.1249, allocations: 15.84 kB / 447.5 MB, free: 8.012 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.823e-05/0.125, allocations: 20.98 kB / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.125, allocations: 0 / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.125, allocations: 0 / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.125, allocations: 0 / 447.6 MB, free: 7.992 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.1252, allocations: 197.6 kB / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.051e-06/0.1252, allocations: 0 / 447.8 MB, free: 7.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.727e-05/0.1252, allocations: 4 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.1252, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1252, allocations: 7.938 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.1252, allocations: 3.984 kB / 447.8 MB, free: 7.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.1252, allocations: 4 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001681/0.1254, allocations: 112.8 kB / 447.9 MB, free: 7.602 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.795e-05/0.1255, allocations: 89.38 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.23e-05/0.1255, allocations: 4 kB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.829e-05/0.1255, allocations: 4 kB / 448 MB, free: 7.488 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.1256, allocations: 11.98 kB / 448 MB, free: 7.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.127e-05/0.1256, allocations: 0 / 448 MB, free: 7.477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.1258, allocations: 204 kB / 448.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1258, allocations: 0 / 448.2 MB, free: 7.277 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002077/0.126, allocations: 19.98 kB / 448.2 MB, free: 7.258 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009026/0.1269, allocations: 405.2 kB / 448.6 MB, free: 6.891 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001503/0.127, allocations: 43.92 kB / 448.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.1271, allocations: 0 / 448.7 MB, free: 6.848 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.406e-05/0.1271, allocations: 16 kB / 448.7 MB, free: 6.832 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.1274, allocations: 36.17 kB / 448.7 MB, free: 6.797 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004567/0.1278, allocations: 273.8 kB / 449 MB, free: 6.504 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.1281, allocations: 0.716 MB / 449.7 MB, free: 5.762 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.76e-05/0.1281, allocations: 20.48 kB / 449.7 MB, free: 5.742 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.848e-05/0.1282, allocations: 15.44 kB / 449.7 MB, free: 5.727 MB / 382.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1282, allocations: 0 / 449.7 MB, free: 5.727 MB / 382.1 MB Notification: Performance of Templates: time 0.004055/0.1322, allocations: 1.388 MB / 451.1 MB, free: 4.34 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test63.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches