Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 111 kB / 17.33 MB, free: 6.016 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.001074/0.001074, allocations: 193.3 kB / 18.25 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2131/0.2131, allocations: 44.18 MB / 336.2 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 62.66 kB / 407.9 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1235, allocations: 60.82 MB / 468.7 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003123/0.1267, allocations: 1.757 MB / 470.5 MB, free: 12.98 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1279, allocations: 0.8692 MB / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.439e-05/0.128, allocations: 0 / 471.3 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002488/0.1283, allocations: 31.84 kB / 471.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001738/0.1285, allocations: 51.83 kB / 471.4 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1287, allocations: 95.58 kB / 471.5 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.1289, allocations: 95.69 kB / 471.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.88e-05/0.129, allocations: 16.22 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.577e-05/0.129, allocations: 43.73 kB / 471.7 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.325e-05/0.1291, allocations: 31.84 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.1291, allocations: 4 kB / 471.7 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.518e-05/0.1292, allocations: 43.98 kB / 471.7 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.761e-05/0.1293, allocations: 19.92 kB / 471.8 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.7e-05/0.1293, allocations: 39.72 kB / 471.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001683/0.1295, allocations: 107.9 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1295, allocations: 3.938 kB / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.834e-06/0.1295, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1295, allocations: 0 / 471.9 MB, free: 11.54 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004586/0.13, allocations: 411 kB / 472.3 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.907e-05/0.13, allocations: 8.031 kB / 472.3 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.1301, allocations: 16.83 kB / 472.3 MB, free: 11.06 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.1303, allocations: 208 kB / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.1303, allocations: 384 / 472.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1303, allocations: 8.125 kB / 472.6 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001295/0.1305, allocations: 53.67 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1305, allocations: 3.938 kB / 472.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.1305, allocations: 7.969 kB / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.367e-06/0.1305, allocations: 0 / 472.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.919e-05/0.1306, allocations: 19.98 kB / 472.6 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.1309, allocations: 284.9 kB / 472.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001526/0.1311, allocations: 54.69 kB / 473 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.02e-05/0.1311, allocations: 24.78 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.1311, allocations: 0 / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.1313, allocations: 71.39 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.1313, allocations: 3.938 kB / 473.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.000505/0.1318, allocations: 173.4 kB / 473.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.415e-05/0.1319, allocations: 51.41 kB / 473.3 MB, free: 9.98 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000167/0.1321, allocations: 190.2 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1321, allocations: 25.7 kB / 473.5 MB, free: 9.754 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.1321, allocations: 100.1 kB / 473.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.195e-05/0.1322, allocations: 35.58 kB / 473.6 MB, free: 9.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.1322, allocations: 25.72 kB / 473.7 MB, free: 9.586 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1323, allocations: 326.8 kB / 474 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.727e-05/0.1324, allocations: 19.98 kB / 474 MB, free: 9.238 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.966e-05/0.1325, allocations: 37.83 kB / 474 MB, free: 9.195 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1326, allocations: 61.64 kB / 474.1 MB, free: 9.129 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.1326, allocations: 4 kB / 474.1 MB, free: 9.125 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002218/0.1328, allocations: 109.4 kB / 474.2 MB, free: 9.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.1329, allocations: 4 kB / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.1329, allocations: 0 / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.1329, allocations: 0 / 474.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.667e-05/0.133, allocations: 19.98 kB / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.133, allocations: 0 / 474.2 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.625e-05/0.133, allocations: 7.938 kB / 474.2 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.746e-06/0.1331, allocations: 4 kB / 474.2 MB, free: 8.977 MB / 350.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 (10): * Single equations (assignments): 10 * 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 9.951e-05/0.1332, allocations: 127.1 kB / 474.4 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.292e-05/0.1332, allocations: 11.91 kB / 474.4 MB, free: 8.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.1332, allocations: 16.66 kB / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.1332, allocations: 0 / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.1333, allocations: 0 / 474.4 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.1333, allocations: 7.922 kB / 474.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.1337, allocations: 387.3 kB / 474.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1337, allocations: 4.031 kB / 474.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.152e-05/0.1337, allocations: 8 kB / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1338, allocations: 0 / 474.8 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.1338, allocations: 7.938 kB / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1338, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.1338, allocations: 0 / 474.8 MB, free: 8.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002617/0.134, allocations: 204.2 kB / 475 MB, free: 8.129 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.1341, allocations: 93 kB / 475.1 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.1341, allocations: 7.875 kB / 475.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.1342, allocations: 8 kB / 475.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.471e-05/0.1343, allocations: 11.92 kB / 475.1 MB, free: 7.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.459e-05/0.1343, allocations: 4 kB / 475.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001057/0.1344, allocations: 139.2 kB / 475.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1344, allocations: 0 / 475.3 MB, free: 7.852 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002653/0.1347, allocations: 28.17 kB / 475.3 MB, free: 7.824 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001041/0.1357, allocations: 474.6 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000175/0.1359, allocations: 59.91 kB / 475.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/0.1359, allocations: 4 kB / 475.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.794e-05/0.136, allocations: 31.98 kB / 475.8 MB, free: 7.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003278/0.1363, allocations: 27.92 kB / 475.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.1367, allocations: 247.2 kB / 476.1 MB, free: 7.141 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.137, allocations: 0.7002 MB / 476.8 MB, free: 6.414 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.161e-05/0.1371, allocations: 21.11 kB / 476.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.1371, allocations: 19.42 kB / 476.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1371, allocations: 0 / 476.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of Templates: time 0.004354/0.1415, allocations: 1.697 MB / 478.5 MB, free: 4.703 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches