Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 108.2 kB / 18.39 MB, free: 4.629 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.001387/0.001387, allocations: 182.9 kB / 19.33 MB, free: 3.699 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.403/1.403, allocations: 222.9 MB / 243 MB, free: 15.07 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.2129/0.2129, allocations: 44.19 MB / 337.4 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 66.03 kB / 409.9 MB, free: 26.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1174/0.1188, allocations: 60.82 MB / 470.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003907/0.1228, allocations: 1.907 MB / 472.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001722/0.1245, allocations: 0.9197 MB / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001396/0.1247, allocations: 0 / 473.5 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003336/0.125, allocations: 39.7 kB / 473.6 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003296/0.1254, allocations: 63.69 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004118/0.1258, allocations: 123.3 kB / 473.8 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002859/0.1261, allocations: 143.6 kB / 473.9 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.1263, allocations: 25.48 kB / 473.9 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1264, allocations: 55.72 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.1265, allocations: 55.64 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1265, allocations: 4 kB / 474 MB, free: 10.28 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.1267, allocations: 51.98 kB / 474.1 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.132e-05/0.1267, allocations: 19.92 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.057e-05/0.1268, allocations: 51.67 kB / 474.2 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002599/0.1271, allocations: 155.4 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.1271, allocations: 0 / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.1271, allocations: 4 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.1271, allocations: 0 / 474.3 MB, free: 10 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006882/0.1278, allocations: 468.6 kB / 474.8 MB, free: 9.488 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1279, allocations: 12.03 kB / 474.8 MB, free: 9.477 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.638e-05/0.1279, allocations: 20.75 kB / 474.8 MB, free: 9.457 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.1283, allocations: 227.9 kB / 475 MB, free: 9.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1283, allocations: 4.375 kB / 475 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.1283, allocations: 16.06 kB / 475 MB, free: 9.176 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.1286, allocations: 111 kB / 475.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/0.1286, allocations: 4 kB / 475.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1287, allocations: 0 / 475.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1287, allocations: 0 / 475.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001641/0.1288, allocations: 59.88 kB / 475.2 MB, free: 8.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006006/0.1294, allocations: 0.5048 MB / 475.7 MB, free: 8.43 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003142/0.1298, allocations: 86.66 kB / 475.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001036/0.1299, allocations: 40.83 kB / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/0.1299, allocations: 0 / 475.8 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001873/0.1301, allocations: 91.31 kB / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.493e-06/0.1301, allocations: 0 / 475.9 MB, free: 8.191 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003994/0.1305, allocations: 145.4 kB / 476.1 MB, free: 8.043 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.1306, allocations: 55.34 kB / 476.1 MB, free: 7.977 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001782/0.1308, allocations: 187.5 kB / 476.3 MB, free: 7.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.1308, allocations: 29.69 kB / 476.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.995e-05/0.1309, allocations: 116 kB / 476.5 MB, free: 7.625 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.104e-05/0.1309, allocations: 31.61 kB / 476.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.819e-05/0.131, allocations: 29.7 kB / 476.5 MB, free: 7.559 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.989e-05/0.1311, allocations: 326.8 kB / 476.8 MB, free: 7.23 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.1312, allocations: 27.98 kB / 476.9 MB, free: 7.203 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.884e-05/0.1313, allocations: 64.39 kB / 476.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001792/0.1315, allocations: 108.5 kB / 477 MB, free: 7.004 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1315, allocations: 3.938 kB / 477 MB, free: 7 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002607/0.1317, allocations: 133.4 kB / 477.2 MB, free: 6.863 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.1318, allocations: 7.984 kB / 477.2 MB, free: 6.855 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.1318, allocations: 4 kB / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.1318, allocations: 0 / 477.2 MB, free: 6.852 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.1319, allocations: 27.94 kB / 477.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1319, allocations: 3.984 kB / 477.2 MB, free: 6.82 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.904e-05/0.132, allocations: 7.938 kB / 477.2 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.006e-05/0.132, allocations: 11.94 kB / 477.2 MB, free: 6.801 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.861e-05/0.1321, allocations: 129.9 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.1321, allocations: 11.81 kB / 477.4 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.475e-05/0.1322, allocations: 17.41 kB / 477.4 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.1322, allocations: 7.938 kB / 477.4 MB, free: 6.629 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.1322, allocations: 3.938 kB / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1322, allocations: 0 / 477.4 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.1324, allocations: 201.6 kB / 477.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1324, allocations: 0 / 477.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.522e-05/0.1325, allocations: 11.98 kB / 477.6 MB, free: 6.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.1325, allocations: 4 kB / 477.6 MB, free: 6.363 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1325, allocations: 4 kB / 477.6 MB, free: 6.359 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.1325, allocations: 7.938 kB / 477.6 MB, free: 6.352 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1325, allocations: 3.938 kB / 477.6 MB, free: 6.348 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003542/0.1329, allocations: 180.8 kB / 477.8 MB, free: 6.152 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.1329, allocations: 92.89 kB / 477.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.287e-05/0.133, allocations: 0 / 477.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.179e-05/0.133, allocations: 15.92 kB / 477.9 MB, free: 6.027 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.443e-05/0.1331, allocations: 8.25 kB / 477.9 MB, free: 6.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.1331, allocations: 4 kB / 477.9 MB, free: 6.016 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.1332, allocations: 145.1 kB / 478.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1332, allocations: 0 / 478.1 MB, free: 5.875 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1335, allocations: 27.98 kB / 478.1 MB, free: 5.848 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.0008935/0.1344, allocations: 410.3 kB / 478.5 MB, free: 5.594 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002473/0.1346, allocations: 87.78 kB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1346, allocations: 0 / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001036/0.1348, allocations: 35.97 kB / 478.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002874/0.1351, allocations: 38 kB / 478.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.1356, allocations: 263.8 kB / 478.9 MB, free: 5.156 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.1358, allocations: 0.7204 MB / 479.6 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.261e-05/0.1359, allocations: 17.42 kB / 479.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.696e-05/0.1359, allocations: 19.44 kB / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1359, allocations: 0 / 479.7 MB, free: 4.375 MB / 350.1 MB Notification: Performance of Templates: time 0.004864/0.1408, allocations: 1.882 MB / 481.5 MB, free: 2.508 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches