Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.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.Test33,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.Test33") translateModel(ModelicaTest.Tables.CombiTimeTable.Test33,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.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009189/0.000919, allocations: 95.34 kB / 17.35 MB, free: 6.344 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.001239/0.001239, allocations: 172.2 kB / 18.25 MB, free: 5.504 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.476/1.476, allocations: 223.3 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2132/0.2132, allocations: 44.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003346, allocations: 13.3 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1341, allocations: 61.94 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test33): time 0.00236/0.1365, allocations: 1.409 MB / 473.7 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.1379, allocations: 0.846 MB / 474.5 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.138, allocations: 3.938 kB / 474.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002766/0.1383, allocations: 35.89 kB / 474.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001763/0.1385, allocations: 43.83 kB / 474.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002848/0.1388, allocations: 95.77 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.139, allocations: 87.7 kB / 474.8 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1391, allocations: 16.22 kB / 474.8 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.1392, allocations: 35.8 kB / 474.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.06e-05/0.1393, allocations: 31.84 kB / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.1393, allocations: 0 / 474.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.1394, allocations: 43.97 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.859e-05/0.1395, allocations: 19.86 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.447e-05/0.1395, allocations: 57.45 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001841/0.1397, allocations: 111.9 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.1397, allocations: 0 / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.1398, allocations: 4 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.119e-06/0.1398, allocations: 0 / 475.1 MB, free: 10.5 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.0005501/0.1403, allocations: 393.4 kB / 475.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.1404, allocations: 8.031 kB / 475.5 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.1404, allocations: 8.844 kB / 475.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.1406, allocations: 215.9 kB / 475.7 MB, free: 9.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.1407, allocations: 8.359 kB / 475.7 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1407, allocations: 8.125 kB / 475.7 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001468/0.1409, allocations: 57.67 kB / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.1409, allocations: 0 / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.969e-06/0.1409, allocations: 0 / 475.8 MB, free: 9.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.1409, allocations: 4 kB / 475.8 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.065e-05/0.141, allocations: 15.98 kB / 475.8 MB, free: 9.707 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1414, allocations: 280.9 kB / 476.1 MB, free: 9.383 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001671/0.1416, allocations: 66.61 kB / 476.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.264e-05/0.1416, allocations: 20.86 kB / 476.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.1416, allocations: 4 kB / 476.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001677/0.1418, allocations: 71.38 kB / 476.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 3.267e-06/0.1418, allocations: 0 / 476.2 MB, free: 9.199 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005171/0.1423, allocations: 169.2 kB / 476.4 MB, free: 9.027 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.1424, allocations: 59.41 kB / 476.5 MB, free: 8.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.1426, allocations: 186.2 kB / 476.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.1426, allocations: 25.7 kB / 476.7 MB, free: 8.734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.1427, allocations: 104.1 kB / 476.8 MB, free: 8.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.1427, allocations: 27.58 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.851e-05/0.1427, allocations: 21.7 kB / 476.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001149/0.1429, allocations: 326.8 kB / 477.1 MB, free: 8.246 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-05/0.1429, allocations: 23.94 kB / 477.2 MB, free: 8.223 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.845e-05/0.143, allocations: 37.7 kB / 477.2 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001651/0.1432, allocations: 57.7 kB / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.1432, allocations: 0 / 477.2 MB, free: 8.117 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000172/0.1433, allocations: 101.4 kB / 477.3 MB, free: 8.012 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.1434, allocations: 10.48 kB / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.1434, allocations: 0 / 477.4 MB, free: 8.004 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1434, allocations: 8.031 kB / 477.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.793e-05/0.1435, allocations: 12 kB / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.1435, allocations: 0 / 477.4 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.844e-05/0.1436, allocations: 11.94 kB / 477.4 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.1436, allocations: 11.92 kB / 477.4 MB, free: 7.961 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.739e-05/0.1437, allocations: 120.9 kB / 477.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.689e-05/0.1437, allocations: 7.906 kB / 477.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.573e-05/0.1437, allocations: 16.7 kB / 477.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.1438, allocations: 4 kB / 477.5 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1438, allocations: 4 kB / 477.6 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1438, allocations: 3.938 kB / 477.6 MB, free: 7.797 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004244/0.1442, allocations: 391.5 kB / 477.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.1442, allocations: 4 kB / 477.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.885e-05/0.1443, allocations: 4 kB / 477.9 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.566e-06/0.1443, allocations: 4 kB / 477.9 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.1443, allocations: 11.92 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1443, allocations: 0 / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.1443, allocations: 8.031 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.1446, allocations: 200.1 kB / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.595e-05/0.1446, allocations: 85.02 kB / 478.2 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.1446, allocations: 12.3 kB / 478.3 MB, free: 6.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.685e-05/0.1447, allocations: 3.938 kB / 478.3 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.291e-05/0.1448, allocations: 11.98 kB / 478.3 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.286e-05/0.1448, allocations: 15.98 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001221/0.1449, allocations: 143.2 kB / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1449, allocations: 0 / 478.4 MB, free: 6.824 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002612/0.1452, allocations: 28.17 kB / 478.5 MB, free: 6.797 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.001095/0.1463, allocations: 459.6 kB / 478.9 MB, free: 6.523 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001888/0.1465, allocations: 63.91 kB / 479 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.1465, allocations: 0 / 479 MB, free: 6.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.246e-05/0.1466, allocations: 27.92 kB / 479 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.1469, allocations: 34.94 kB / 479 MB, free: 6.402 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.1474, allocations: 242.5 kB / 479.3 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002958/0.1478, allocations: 0.7043 MB / 480 MB, free: 5.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.913e-05/0.1478, allocations: 25.17 kB / 480 MB, free: 5.375 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.888e-05/0.1479, allocations: 15.44 kB / 480 MB, free: 5.359 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1479, allocations: 0 / 480 MB, free: 5.359 MB / 350.1 MB Notification: Performance of Templates: time 0.004833/0.1527, allocations: 1.613 MB / 481.6 MB, free: 3.758 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test33/Test33.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches