Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 103.9 kB / 16.64 MB, free: 6.805 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.001208/0.001208, allocations: 190.5 kB / 17.56 MB, free: 5.945 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.505/1.505, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.2146/0.2146, allocations: 43.52 MB / 314.3 MB, free: 0.6992 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.002571/0.002571, allocations: 69.19 kB / 382.9 MB, free: 57.02 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1319, allocations: 57.79 MB / 440.7 MB, free: 7.359 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003145/0.1351, allocations: 1.963 MB / 442.6 MB, free: 5.379 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.1363, allocations: 0.8313 MB / 443.5 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001292/0.1364, allocations: 4 kB / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003039/0.1367, allocations: 31.78 kB / 443.5 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002407/0.137, allocations: 55.75 kB / 443.6 MB, free: 4.449 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002902/0.1373, allocations: 87.84 kB / 443.6 MB, free: 4.363 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001939/0.1375, allocations: 147.5 kB / 443.8 MB, free: 4.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001122/0.1376, allocations: 29.7 kB / 443.8 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001012/0.1377, allocations: 51.73 kB / 443.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.12e-05/0.1378, allocations: 55.7 kB / 443.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.1379, allocations: 4 kB / 443.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.138, allocations: 51.98 kB / 444 MB, free: 4.023 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.238e-05/0.138, allocations: 27.84 kB / 444 MB, free: 3.996 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.826e-05/0.1381, allocations: 51.67 kB / 444 MB, free: 3.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001819/0.1383, allocations: 107.8 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1383, allocations: 0 / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.1383, allocations: 0 / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.1383, allocations: 0 / 444.2 MB, free: 3.84 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005494/0.1389, allocations: 472.5 kB / 444.6 MB, free: 3.324 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.1389, allocations: 19.88 kB / 444.6 MB, free: 3.305 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.418e-05/0.139, allocations: 16.75 kB / 444.7 MB, free: 3.289 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.1392, allocations: 221.3 kB / 444.9 MB, free: 3.035 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.1392, allocations: 8.375 kB / 444.9 MB, free: 3.027 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.394e-05/0.1392, allocations: 8.125 kB / 444.9 MB, free: 3.02 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1394, allocations: 108.2 kB / 445 MB, free: 2.898 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.1395, allocations: 7.938 kB / 445 MB, free: 2.891 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.405e-05/0.1395, allocations: 4 kB / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.1395, allocations: 0 / 445 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.1396, allocations: 55.58 kB / 445.1 MB, free: 2.836 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000465/0.1401, allocations: 0.5125 MB / 445.6 MB, free: 2.266 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/0.1404, allocations: 86.66 kB / 445.7 MB, free: 2.172 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.076e-05/0.1405, allocations: 36.84 kB / 445.7 MB, free: 2.133 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.93e-05/0.1405, allocations: 3.938 kB / 445.7 MB, free: 2.129 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002082/0.1407, allocations: 87.38 kB / 445.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of pre-optimization done (n=9): time 1.583e-06/0.1407, allocations: 0 / 445.8 MB, free: 2.031 MB / 318.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003468/0.1411, allocations: 137.7 kB / 445.9 MB, free: 1.891 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.313e-05/0.1411, allocations: 59.34 kB / 446 MB, free: 1.82 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1413, allocations: 191.4 kB / 446.2 MB, free: 1.625 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.1413, allocations: 33.69 kB / 446.2 MB, free: 1.586 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.607e-05/0.1413, allocations: 116 kB / 446.3 MB, free: 1.469 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/0.1414, allocations: 27.64 kB / 446.3 MB, free: 1.441 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.1414, allocations: 29.7 kB / 446.4 MB, free: 1.406 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 4.581e-05/0.1415, allocations: 326.8 kB / 446.7 MB, free: 1.078 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.022e-05/0.1415, allocations: 27.98 kB / 446.7 MB, free: 1.051 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.078e-05/0.1416, allocations: 64.2 kB / 446.8 MB, free: 0.9727 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.1418, allocations: 100.2 kB / 446.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1418, allocations: 0 / 446.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002288/0.142, allocations: 141.3 kB / 447 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1421, allocations: 7.984 kB / 447 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.1421, allocations: 4 kB / 447 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1421, allocations: 0 / 447 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.947e-05/0.1422, allocations: 27.88 kB / 447 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1422, allocations: 3.984 kB / 447 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.631e-05/0.1423, allocations: 15.91 kB / 447.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.1423, allocations: 4 kB / 447.1 MB, free: 0.6523 MB / 318.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 7.242e-05/0.1424, allocations: 130.5 kB / 447.2 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.1424, allocations: 15.8 kB / 447.2 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.047e-05/0.1424, allocations: 17.41 kB / 447.2 MB, free: 492 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.1424, allocations: 3.938 kB / 447.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.1424, allocations: 0 / 447.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1425, allocations: 0 / 447.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.1426, allocations: 213.7 kB / 447.4 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1426, allocations: 0 / 447.4 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.172e-05/0.1427, allocations: 23.86 kB / 447.5 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/0.1427, allocations: 0 / 447.5 MB, free: 200 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.141e-05/0.1427, allocations: 7.938 kB / 447.5 MB, free: 192 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.1427, allocations: 3.938 kB / 447.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1427, allocations: 0 / 447.5 MB, free: 188 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003236/0.143, allocations: 184.8 kB / 447.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.852e-05/0.1431, allocations: 85.05 kB / 447.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.1431, allocations: 4 kB / 447.7 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.848e-05/0.1432, allocations: 15.98 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.1433, allocations: 4 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.713e-05/0.1433, allocations: 4 kB / 447.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001117/0.1434, allocations: 141.2 kB / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1434, allocations: 0 / 447.9 MB, free: 15.72 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002339/0.1436, allocations: 31.89 kB / 447.9 MB, free: 15.69 MB / 334.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.0009185/0.1446, allocations: 415 kB / 448.3 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002433/0.1448, allocations: 83.84 kB / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1448, allocations: 0 / 448.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.876e-05/0.1449, allocations: 43.91 kB / 448.5 MB, free: 15.23 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.1452, allocations: 39.17 kB / 448.5 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.1458, allocations: 322 kB / 448.8 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.1461, allocations: 0.72 MB / 449.5 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.345e-05/0.1461, allocations: 15.44 kB / 449.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1461, allocations: 0 / 449.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of Templates: time 0.004178/0.1503, allocations: 2.163 MB / 451.7 MB, free: 11.93 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches