Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") translateModel(ModelicaTest.Tables.CombiTimeTable.Test49,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 108.7 kB / 16.27 MB, free: 6.395 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.002055/0.002055, allocations: 193.2 kB / 17.2 MB, free: 5.973 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.864/1.864, allocations: 205.1 MB / 223.1 MB, free: 12.32 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.2567/0.2567, allocations: 43.53 MB / 313.9 MB, free: 0.5352 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.001586/0.001586, allocations: 70.86 kB / 382.7 MB, free: 56.75 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1491, allocations: 57.78 MB / 440.5 MB, free: 6.902 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003948/0.1531, allocations: 1.7 MB / 442.2 MB, free: 5.188 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001338/0.1545, allocations: 0.8039 MB / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001199/0.1547, allocations: 0 / 443 MB, free: 4.375 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003454/0.155, allocations: 51.75 kB / 443.1 MB, free: 4.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002541/0.1553, allocations: 55.75 kB / 443.1 MB, free: 4.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000287/0.1556, allocations: 91.7 kB / 443.2 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001803/0.1558, allocations: 91.7 kB / 443.3 MB, free: 4.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.1559, allocations: 12.5 kB / 443.3 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.1561, allocations: 39.8 kB / 443.4 MB, free: 4.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.219e-05/0.1561, allocations: 31.78 kB / 443.4 MB, free: 4.008 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.14e-05/0.1562, allocations: 4 kB / 443.4 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1563, allocations: 43.98 kB / 443.4 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.406e-05/0.1564, allocations: 27.92 kB / 443.5 MB, free: 3.934 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.694e-05/0.1564, allocations: 47.66 kB / 443.5 MB, free: 3.887 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1567, allocations: 131.6 kB / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.1567, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.1567, allocations: 0 / 443.6 MB, free: 3.758 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.356e-06/0.1567, allocations: 0 / 443.6 MB, free: 3.758 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005506/0.1573, allocations: 446.5 kB / 444.1 MB, free: 3.273 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.704e-05/0.1573, allocations: 11.89 kB / 444.1 MB, free: 3.262 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.1574, allocations: 12.84 kB / 444.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1576, allocations: 223.5 kB / 444.3 MB, free: 2.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1576, allocations: 4.375 kB / 444.3 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.983e-05/0.1576, allocations: 12.03 kB / 444.3 MB, free: 2.977 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1578, allocations: 53.67 kB / 444.4 MB, free: 2.918 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.1578, allocations: 3.984 kB / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1578, allocations: 0 / 444.4 MB, free: 2.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.1578, allocations: 7.938 kB / 444.4 MB, free: 2.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.164e-05/0.1579, allocations: 19.92 kB / 444.4 MB, free: 2.887 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003128/0.1582, allocations: 292.9 kB / 444.7 MB, free: 2.551 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001476/0.1584, allocations: 62.67 kB / 444.8 MB, free: 2.48 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.598e-05/0.1584, allocations: 24.84 kB / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.1585, allocations: 0 / 444.8 MB, free: 2.453 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002161/0.1587, allocations: 67.33 kB / 444.9 MB, free: 2.375 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.1587, allocations: 8 kB / 444.9 MB, free: 2.367 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005208/0.1592, allocations: 177 kB / 445 MB, free: 2.188 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1593, allocations: 55.41 kB / 445.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001802/0.1595, allocations: 255.7 kB / 445.3 MB, free: 1.855 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.1595, allocations: 29.7 kB / 445.4 MB, free: 1.82 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.1595, allocations: 116 kB / 445.5 MB, free: 1.703 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.905e-05/0.1596, allocations: 23.73 kB / 445.5 MB, free: 1.68 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.1596, allocations: 21.7 kB / 445.5 MB, free: 1.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.482e-05/0.1597, allocations: 338.8 kB / 445.9 MB, free: 1.312 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.014e-05/0.1597, allocations: 15.98 kB / 445.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.618e-05/0.1598, allocations: 37.7 kB / 445.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.326e-05/0.1599, allocations: 57.66 kB / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.1599, allocations: 0 / 446 MB, free: 1.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001839/0.1601, allocations: 109.4 kB / 446.1 MB, free: 1.078 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.1601, allocations: 5.25 kB / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1601, allocations: 0 / 446.1 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.1602, allocations: 4 kB / 446.1 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.1602, allocations: 19.94 kB / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.1603, allocations: 0 / 446.1 MB, free: 1.051 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.242e-05/0.1603, allocations: 11.92 kB / 446.1 MB, free: 1.039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1603, allocations: 0 / 446.1 MB, free: 1.039 MB / 318.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.118e-05/0.1604, allocations: 137.8 kB / 446.3 MB, free: 0.8945 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.321e-05/0.1605, allocations: 19.84 kB / 446.3 MB, free: 0.875 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.1605, allocations: 21.39 kB / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1605, allocations: 0 / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1605, allocations: 0 / 446.3 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1605, allocations: 3.938 kB / 446.3 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003727/0.1609, allocations: 403.2 kB / 446.7 MB, free: 408 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.1609, allocations: 4 kB / 446.7 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.454e-05/0.161, allocations: 8.172 kB / 446.7 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.161, allocations: 11.97 kB / 446.7 MB, free: 384 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.37e-05/0.161, allocations: 7.875 kB / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.161, allocations: 384 / 446.7 MB, free: 376 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.161, allocations: 4 kB / 446.7 MB, free: 372 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002357/0.1613, allocations: 200.5 kB / 446.9 MB, free: 152 kB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.856e-05/0.1613, allocations: 92.92 kB / 447 MB, free: 40 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.1614, allocations: 7.922 kB / 447 MB, free: 32 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.893e-05/0.1614, allocations: 12 kB / 447 MB, free: 20 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.1615, allocations: 4 kB / 447 MB, free: 16 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.1615, allocations: 7.984 kB / 447 MB, free: 8 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002689/0.1618, allocations: 195.3 kB / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1618, allocations: 0 / 447.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003282/0.1621, allocations: 24 kB / 447.3 MB, free: 15.79 MB / 334.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.001339/0.1635, allocations: 473.1 kB / 447.7 MB, free: 15.41 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.1638, allocations: 63.91 kB / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1638, allocations: 0 / 447.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.788e-05/0.1639, allocations: 27.98 kB / 447.8 MB, free: 15.32 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004167/0.1643, allocations: 32.09 kB / 447.8 MB, free: 15.29 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007267/0.165, allocations: 287.9 kB / 448.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.1656, allocations: 0.7158 MB / 448.8 MB, free: 14.24 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.906e-05/0.1657, allocations: 9.203 kB / 448.8 MB, free: 14.23 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/0.1657, allocations: 19.42 kB / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1657, allocations: 0 / 448.9 MB, free: 14.21 MB / 334.1 MB Notification: Performance of Templates: time 0.006299/0.1721, allocations: 1.723 MB / 450.6 MB, free: 12.5 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test49.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches