Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009966/0.0009964, allocations: 97.53 kB / 15.69 MB, free: 488 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.001178/0.001178, allocations: 170.4 kB / 16.56 MB, free: 6.379 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.38/1.38, allocations: 205.4 MB / 222.7 MB, free: 5.684 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.3094/0.3094, allocations: 43.54 MB / 314.5 MB, free: 9.004 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.0005027/0.0005027, allocations: 16 kB / 383.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1326/0.1331, allocations: 58.85 MB / 442.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001863/0.135, allocations: 1.356 MB / 444.1 MB, free: 11.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009882/0.136, allocations: 0.7188 MB / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.423e-05/0.1361, allocations: 0 / 444.8 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002607/0.1364, allocations: 75.77 kB / 444.9 MB, free: 11.13 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001655/0.1365, allocations: 63.84 kB / 445 MB, free: 11.07 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001936/0.1367, allocations: 75.72 kB / 445 MB, free: 11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001324/0.1369, allocations: 67.84 kB / 445.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.123e-05/0.1369, allocations: 11.97 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.59e-05/0.137, allocations: 39.84 kB / 445.2 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.1371, allocations: 35.84 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.294e-05/0.1371, allocations: 4 kB / 445.2 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6e-05/0.1372, allocations: 19.98 kB / 445.2 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.887e-05/0.1372, allocations: 27.91 kB / 445.2 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.559e-05/0.1373, allocations: 33.7 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001256/0.1374, allocations: 80.05 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.1374, allocations: 0 / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1374, allocations: 3.938 kB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.898e-06/0.1374, allocations: 0 / 445.4 MB, free: 10.67 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.0004651/0.1379, allocations: 402.8 kB / 445.7 MB, free: 10.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.1379, allocations: 8.031 kB / 445.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.13e-05/0.138, allocations: 7.906 kB / 445.8 MB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002144/0.1382, allocations: 215.5 kB / 446 MB, free: 9.965 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.1382, allocations: 4 kB / 446 MB, free: 9.961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.1383, allocations: 7.938 kB / 446 MB, free: 9.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1384, allocations: 45.67 kB / 446 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.1384, allocations: 0 / 446 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.1384, allocations: 0 / 446 MB, free: 9.902 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.536e-06/0.1384, allocations: 7.953 kB / 446 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.226e-05/0.1385, allocations: 23.91 kB / 446.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.1387, allocations: 181.6 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.1388, allocations: 54.61 kB / 446.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.1389, allocations: 0 / 446.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000189/0.1391, allocations: 71.42 kB / 446.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.1391, allocations: 0 / 446.4 MB, free: 9.5 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002465/0.1393, allocations: 93.58 kB / 446.5 MB, free: 9.402 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/0.1394, allocations: 59.36 kB / 446.5 MB, free: 9.332 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001716/0.1395, allocations: 210.3 kB / 446.7 MB, free: 9.117 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.026e-05/0.1396, allocations: 25.7 kB / 446.7 MB, free: 9.086 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.734e-05/0.1396, allocations: 104.1 kB / 446.8 MB, free: 8.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.741e-05/0.1397, allocations: 19.73 kB / 446.9 MB, free: 8.961 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.851e-06/0.1397, allocations: 4 kB / 446.9 MB, free: 8.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.998e-05/0.1398, allocations: 318.8 kB / 447.2 MB, free: 8.637 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.1398, allocations: 12 kB / 447.2 MB, free: 8.625 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.152e-05/0.1399, allocations: 41.64 kB / 447.2 MB, free: 8.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.305e-05/0.14, allocations: 12 kB / 447.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.14, allocations: 0 / 447.2 MB, free: 8.566 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000134/0.1401, allocations: 77.58 kB / 447.3 MB, free: 8.484 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.1401, allocations: 8 kB / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.1401, allocations: 0 / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.1401, allocations: 0 / 447.3 MB, free: 8.477 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.687e-05/0.1402, allocations: 15.97 kB / 447.3 MB, free: 8.461 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.1402, allocations: 4 kB / 447.3 MB, free: 8.457 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.1403, allocations: 11.86 kB / 447.4 MB, free: 8.445 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1403, allocations: 4.156 kB / 447.4 MB, free: 8.441 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 9.359e-05/0.1404, allocations: 125.8 kB / 447.5 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.58e-05/0.1404, allocations: 11.91 kB / 447.5 MB, free: 8.297 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.573e-05/0.1405, allocations: 16.98 kB / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.1405, allocations: 0 / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1405, allocations: 0 / 447.5 MB, free: 8.277 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1405, allocations: 8 kB / 447.5 MB, free: 8.27 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.1406, allocations: 189.6 kB / 447.7 MB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1406, allocations: 3.984 kB / 447.7 MB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.1407, allocations: 4 kB / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.1407, allocations: 0 / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1407, allocations: 0 / 447.7 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1407, allocations: 11.86 kB / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.1407, allocations: 0 / 447.7 MB, free: 8.016 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.1409, allocations: 120.8 kB / 447.8 MB, free: 7.879 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/0.1409, allocations: 85.39 kB / 447.9 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.181e-05/0.141, allocations: 8 kB / 447.9 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.929e-05/0.141, allocations: 7.984 kB / 447.9 MB, free: 7.762 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.723e-05/0.141, allocations: 4 kB / 447.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.1411, allocations: 0 / 447.9 MB, free: 7.758 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001206/0.1412, allocations: 160.2 kB / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1412, allocations: 0 / 448.1 MB, free: 7.602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0001972/0.1414, allocations: 16 kB / 448.1 MB, free: 7.586 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.0008445/0.1422, allocations: 400.9 kB / 448.5 MB, free: 7.227 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001336/0.1424, allocations: 43.92 kB / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1424, allocations: 0 / 448.6 MB, free: 7.184 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.487e-05/0.1425, allocations: 19.98 kB / 448.6 MB, free: 7.164 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000193/0.1427, allocations: 32.11 kB / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003951/0.1431, allocations: 233 kB / 448.8 MB, free: 6.883 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002657/0.1433, allocations: 0.7121 MB / 449.5 MB, free: 6.145 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.1434, allocations: 20.55 kB / 449.6 MB, free: 6.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.765e-05/0.1434, allocations: 15.44 kB / 449.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1434, allocations: 0 / 449.6 MB, free: 6.109 MB / 382.1 MB Notification: Performance of Templates: time 0.003602/0.147, allocations: 1.369 MB / 450.9 MB, free: 4.742 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches