Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002165/0.002165, allocations: 105.2 kB / 16.27 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00219/0.002191, allocations: 189.4 kB / 17.19 MB, free: 5.602 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.753/1.753, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2504/0.2504, allocations: 43.52 MB / 313.9 MB, free: 0.543 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.001431/0.001431, allocations: 69.84 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.126, allocations: 57.79 MB / 440.5 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002862/0.1289, allocations: 1.656 MB / 442.2 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001127/0.13, allocations: 0.7788 MB / 443 MB, free: 4.477 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.751e-05/0.1301, allocations: 4 kB / 443 MB, free: 4.473 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1305, allocations: 67.78 kB / 443 MB, free: 4.406 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1307, allocations: 71.67 kB / 443.1 MB, free: 4.336 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002189/0.1309, allocations: 71.78 kB / 443.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.131, allocations: 95.69 kB / 443.3 MB, free: 4.172 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.384e-05/0.1311, allocations: 7.984 kB / 443.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.1312, allocations: 43.84 kB / 443.3 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.1312, allocations: 43.78 kB / 443.4 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1313, allocations: 8 kB / 443.4 MB, free: 4.07 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.086e-05/0.1313, allocations: 31.98 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 4.654e-05/0.1314, allocations: 15.97 kB / 443.4 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.214e-05/0.1314, allocations: 35.69 kB / 443.4 MB, free: 3.988 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001359/0.1316, allocations: 103.9 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.1316, allocations: 0 / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1316, allocations: 0 / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.2e-06/0.1316, allocations: 0 / 443.5 MB, free: 3.887 MB / 318.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.0003877/0.132, allocations: 402.9 kB / 443.9 MB, free: 3.445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.1e-05/0.132, allocations: 15.89 kB / 444 MB, free: 3.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.1321, allocations: 8.844 kB / 444 MB, free: 3.422 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001605/0.1323, allocations: 205 kB / 444.2 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.1323, allocations: 4.375 kB / 444.2 MB, free: 3.18 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.09e-05/0.1323, allocations: 8.125 kB / 444.2 MB, free: 3.172 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.1324, allocations: 49.61 kB / 444.2 MB, free: 3.117 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.1324, allocations: 3.938 kB / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1324, allocations: 0 / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1325, allocations: 0 / 444.2 MB, free: 3.113 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.928e-05/0.1325, allocations: 15.98 kB / 444.2 MB, free: 3.098 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001331/0.1327, allocations: 185.7 kB / 444.4 MB, free: 2.867 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001327/0.1328, allocations: 46.62 kB / 444.5 MB, free: 2.812 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.415e-05/0.1329, allocations: 24.78 kB / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.671e-05/0.1329, allocations: 0 / 444.5 MB, free: 2.785 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001634/0.133, allocations: 75.27 kB / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.1331, allocations: 0 / 444.6 MB, free: 2.699 MB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002407/0.1333, allocations: 93.58 kB / 444.7 MB, free: 2.602 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.845e-05/0.1333, allocations: 51.41 kB / 444.7 MB, free: 2.539 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.1335, allocations: 194 kB / 444.9 MB, free: 2.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.538e-06/0.1335, allocations: 25.7 kB / 444.9 MB, free: 2.309 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.595e-05/0.1335, allocations: 104.1 kB / 445 MB, free: 2.203 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.017e-05/0.1336, allocations: 15.83 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.1336, allocations: 21.72 kB / 445.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.387e-05/0.1337, allocations: 322.8 kB / 445.4 MB, free: 1.836 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.356e-05/0.1337, allocations: 15.98 kB / 445.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.492e-05/0.1338, allocations: 25.72 kB / 445.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.878e-05/0.1338, allocations: 45.95 kB / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.1339, allocations: 0 / 445.5 MB, free: 1.738 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001239/0.134, allocations: 89.47 kB / 445.6 MB, free: 1.645 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.134, allocations: 7.984 kB / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.134, allocations: 0 / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.134, allocations: 0 / 445.6 MB, free: 1.637 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.1341, allocations: 15.98 kB / 445.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1341, allocations: 0 / 445.6 MB, free: 1.621 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.05e-05/0.1342, allocations: 11.84 kB / 445.6 MB, free: 1.609 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.912e-06/0.1342, allocations: 4 kB / 445.6 MB, free: 1.605 MB / 318.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.604e-05/0.1343, allocations: 137.7 kB / 445.7 MB, free: 1.461 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.73e-05/0.1343, allocations: 7.906 kB / 445.7 MB, free: 1.453 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.1343, allocations: 16.3 kB / 445.8 MB, free: 1.438 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.1343, allocations: 4 kB / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.307e-06/0.1343, allocations: 0 / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.1343, allocations: 0 / 445.8 MB, free: 1.434 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.007e-05/0.1344, allocations: 181.6 kB / 445.9 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1345, allocations: 4 kB / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.643e-05/0.1345, allocations: 0 / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.1345, allocations: 0 / 445.9 MB, free: 1.203 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1345, allocations: 4 kB / 445.9 MB, free: 1.199 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.1345, allocations: 4 kB / 445.9 MB, free: 1.195 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1345, allocations: 7.922 kB / 446 MB, free: 1.188 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001413/0.1347, allocations: 101 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.737e-05/0.1347, allocations: 100.8 kB / 446.1 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.1347, allocations: 3.938 kB / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.105e-05/0.1348, allocations: 0 / 446.2 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.274e-05/0.1348, allocations: 4.125 kB / 446.2 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.1348, allocations: 15.98 kB / 446.2 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of sorting global known variables: time 8.579e-05/0.1349, allocations: 135.2 kB / 446.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1349, allocations: 0 / 446.3 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0001976/0.1351, allocations: 20 kB / 446.3 MB, free: 0.7773 MB / 318.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 (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.0008339/0.1359, allocations: 410.1 kB / 446.7 MB, free: 460 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001472/0.1361, allocations: 47.92 kB / 446.8 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1361, allocations: 0 / 446.8 MB, free: 412 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.156e-05/0.1362, allocations: 20.06 kB / 446.8 MB, free: 392 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.1364, allocations: 28.16 kB / 446.8 MB, free: 364 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.1368, allocations: 198.1 kB / 447 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002692/0.1371, allocations: 0.7041 MB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.456e-05/0.1371, allocations: 16.41 kB / 447.7 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.1372, allocations: 15.42 kB / 447.7 MB, free: 15.38 MB / 334.1 MB Notification: Performance of SimCode: time 1.763e-06/0.1372, allocations: 4 kB / 447.8 MB, free: 15.37 MB / 334.1 MB Notification: Performance of Templates: time 0.005021/0.1422, allocations: 1.474 MB / 449.2 MB, free: 13.91 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches