Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00171/0.00171, allocations: 104.3 kB / 17.2 MB, free: 6.273 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.002067/0.002067, allocations: 194 kB / 18.12 MB, free: 5.363 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.545/1.545, allocations: 222.9 MB / 241.8 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.2317/0.2317, allocations: 44.19 MB / 336.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001592/0.001592, allocations: 59.62 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1369, allocations: 60.84 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003875/0.1408, allocations: 1.842 MB / 470.4 MB, free: 12.97 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002024/0.1429, allocations: 0.9472 MB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.143, allocations: 3.938 kB / 471.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005575/0.1436, allocations: 295.4 kB / 471.6 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000402/0.144, allocations: 187.5 kB / 471.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005143/0.1446, allocations: 158.4 kB / 472 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003818/0.1449, allocations: 231.4 kB / 472.2 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.709e-05/0.145, allocations: 9.547 kB / 472.2 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002284/0.1453, allocations: 123.5 kB / 472.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002599/0.1455, allocations: 180 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.1456, allocations: 4 kB / 472.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001553/0.1457, allocations: 39.98 kB / 472.5 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001873/0.1459, allocations: 132.6 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001824/0.1461, allocations: 142.8 kB / 472.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.1465, allocations: 351 kB / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.1466, allocations: 0 / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1466, allocations: 0 / 473.1 MB, free: 10.2 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.337e-06/0.1466, allocations: 0 / 473.1 MB, free: 10.2 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001099/0.1477, allocations: 0.7153 MB / 473.9 MB, free: 9.43 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.1477, allocations: 8.031 kB / 473.9 MB, free: 9.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001198/0.1479, allocations: 56.27 kB / 473.9 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006171/0.1485, allocations: 435.9 kB / 474.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.1485, allocations: 4.375 kB / 474.3 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.636e-05/0.1485, allocations: 8.125 kB / 474.4 MB, free: 8.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000239/0.1488, allocations: 83.36 kB / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.1488, allocations: 0 / 474.4 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.535e-05/0.1488, allocations: 4 kB / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.112e-06/0.1488, allocations: 0 / 474.4 MB, free: 8.793 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/0.149, allocations: 35.91 kB / 474.5 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005823/0.1496, allocations: 378.3 kB / 474.8 MB, free: 8.336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003083/0.1499, allocations: 101.2 kB / 474.9 MB, free: 8.219 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.15, allocations: 49.52 kB / 475 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/0.15, allocations: 4 kB / 475 MB, free: 8.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003926/0.1504, allocations: 105.1 kB / 475.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 5.38e-06/0.1504, allocations: 3.984 kB / 475.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005559/0.151, allocations: 200.9 kB / 475.3 MB, free: 7.832 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.153e-05/0.1511, allocations: 77.11 kB / 475.4 MB, free: 7.738 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/0.1523, allocations: 1.011 MB / 476.4 MB, free: 6.719 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.274e-05/0.1523, allocations: 33.7 kB / 476.4 MB, free: 6.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.1525, allocations: 224.1 kB / 476.6 MB, free: 6.457 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.904e-05/0.1526, allocations: 23.7 kB / 476.7 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.1526, allocations: 29.7 kB / 476.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1528, allocations: 366.8 kB / 477 MB, free: 6.031 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.809e-05/0.1529, allocations: 27.98 kB / 477.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001041/0.153, allocations: 55.42 kB / 477.1 MB, free: 5.938 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.1532, allocations: 91.84 kB / 477.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1532, allocations: 0 / 477.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003036/0.1535, allocations: 176.8 kB / 477.4 MB, free: 5.656 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.067e-05/0.1535, allocations: 10.66 kB / 477.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.822e-06/0.1536, allocations: 0 / 477.4 MB, free: 5.648 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.1536, allocations: 3.984 kB / 477.4 MB, free: 5.645 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001207/0.1537, allocations: 23.94 kB / 477.4 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.1537, allocations: 3.984 kB / 477.4 MB, free: 5.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.416e-05/0.1538, allocations: 11.92 kB / 477.4 MB, free: 5.605 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.1538, allocations: 8 kB / 477.5 MB, free: 5.598 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0002593/0.1541, allocations: 226.3 kB / 477.7 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.924e-05/0.1542, allocations: 47.34 kB / 477.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.002e-05/0.1543, allocations: 59.84 kB / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.006e-06/0.1543, allocations: 0 / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.1543, allocations: 0 / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1543, allocations: 0 / 477.8 MB, free: 5.258 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003159/0.1546, allocations: 341.4 kB / 478.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1546, allocations: 0 / 478.1 MB, free: 4.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.656e-05/0.1547, allocations: 11.92 kB / 478.1 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1547, allocations: 4 kB / 478.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.241e-05/0.1547, allocations: 0 / 478.1 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.1547, allocations: 8 kB / 478.1 MB, free: 4.852 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.1547, allocations: 4.062 kB / 478.1 MB, free: 4.848 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003295/0.1551, allocations: 205.2 kB / 478.3 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001339/0.1552, allocations: 140.5 kB / 478.5 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.1552, allocations: 3.984 kB / 478.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.94e-05/0.1553, allocations: 8 kB / 478.5 MB, free: 4.457 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.6e-05/0.1554, allocations: 11.98 kB / 478.5 MB, free: 4.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.1554, allocations: 4 kB / 478.5 MB, free: 4.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0008177/0.1562, allocations: 0.7487 MB / 479.3 MB, free: 3.695 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.1562, allocations: 4 kB / 479.3 MB, free: 3.691 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002708/0.1565, allocations: 40 kB / 479.3 MB, free: 3.652 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001091/0.1576, allocations: 406.8 kB / 479.7 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002942/0.1579, allocations: 95.83 kB / 479.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.1579, allocations: 0 / 479.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001126/0.1581, allocations: 31.98 kB / 479.8 MB, free: 3.281 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.1586, allocations: 74.19 kB / 479.9 MB, free: 3.207 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001591/0.1602, allocations: 0.9347 MB / 480.8 MB, free: 2.242 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/0.1607, allocations: 0.8391 MB / 481.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001447/0.1609, allocations: 54.95 kB / 481.7 MB, free: 1.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.399e-05/0.161, allocations: 31.42 kB / 481.7 MB, free: 1.289 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.161, allocations: 3.938 kB / 481.8 MB, free: 1.285 MB / 350.1 MB Notification: Performance of Templates: time 0.009375/0.1704, allocations: 3.506 MB / 485.3 MB, free: 13.8 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test68.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches