Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008282/0.0008282, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.004254/0.004254, allocations: 160.9 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8955/0.8955, allocations: 177.2 MB / 205 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2274/0.2274, allocations: 32.79 MB / 294.2 MB, free: 1.203 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 440.9 MB, free: 3.684 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.956e-05, allocations: 6.281 kB / 440.9 MB, free: 3.676 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.00181/0.001829, allocations: 1.675 MB / 442.6 MB, free: 1.984 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000985/0.002814, allocations: 0.9664 MB / 443.6 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.002874, allocations: 0 / 443.6 MB, free: 1.012 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005088/0.003382, allocations: 47.77 kB / 443.6 MB, free: 0.9648 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002342/0.003617, allocations: 107.5 kB / 443.7 MB, free: 0.8594 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001109/0.003728, allocations: 79.59 kB / 443.8 MB, free: 0.7812 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001355/0.003863, allocations: 99.69 kB / 443.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.003902, allocations: 8.172 kB / 443.9 MB, free: 0.6758 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.003979, allocations: 55.77 kB / 444 MB, free: 0.6211 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.383e-05/0.004043, allocations: 23.92 kB / 444 MB, free: 0.5977 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.506e-05/0.004058, allocations: 4 kB / 444 MB, free: 0.5938 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.776e-05/0.004116, allocations: 27.98 kB / 444 MB, free: 0.5664 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.005e-05/0.004166, allocations: 31.91 kB / 444 MB, free: 0.5352 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.279e-05/0.004199, allocations: 19.88 kB / 444.1 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001557/0.004354, allocations: 119.6 kB / 444.2 MB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004356, allocations: 0 / 444.2 MB, free: 408 kB / 410.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.004357, allocations: 0 / 444.2 MB, free: 408 kB / 410.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.004362, allocations: 0 / 444.2 MB, free: 408 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003942/0.004756, allocations: 373.3 kB / 444.5 MB, free: 4 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.1675/0.1723, allocations: 9.953 kB / 444.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.273e-05/0.1724, allocations: 14.45 kB / 444.6 MB, free: 46.75 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002643/0.1726, allocations: 157.6 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.307e-05/0.1727, allocations: 384 / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.1727, allocations: 5.844 kB / 444.7 MB, free: 46.62 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.1728, allocations: 49.03 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.274e-06/0.1728, allocations: 6.172 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1728, allocations: 3.609 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.1728, allocations: 0 / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.1729, allocations: 21.28 kB / 444.8 MB, free: 46.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001247/0.173, allocations: 143.3 kB / 445 MB, free: 46.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.1731, allocations: 52.16 kB / 445 MB, free: 46.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.168e-05/0.1731, allocations: 23.48 kB / 445 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.1731, allocations: 3 kB / 445 MB, free: 46.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.1732, allocations: 66.98 kB / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.1732, allocations: 0 / 445.1 MB, free: 46.39 MB / 410.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001868/0.1734, allocations: 103 kB / 445.2 MB, free: 46.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.349e-05/0.1735, allocations: 52.84 kB / 445.2 MB, free: 46.29 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001448/0.1736, allocations: 281.3 kB / 445.5 MB, free: 46.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.021e-06/0.1736, allocations: 29.67 kB / 445.5 MB, free: 46.15 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.249e-05/0.1736, allocations: 115.8 kB / 445.7 MB, free: 46.07 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1737, allocations: 16.81 kB / 445.7 MB, free: 46.06 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.454e-05/0.1737, allocations: 16.09 kB / 445.7 MB, free: 46.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.342e-05/0.1737, allocations: 330.7 kB / 446 MB, free: 45.73 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.1737, allocations: 13.5 kB / 446 MB, free: 45.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.838e-05/0.1738, allocations: 31.48 kB / 446.1 MB, free: 45.71 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/0.1738, allocations: 52.75 kB / 446.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1738, allocations: 2.297 kB / 446.1 MB, free: 45.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.924e-05/0.1739, allocations: 86.75 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.198e-05/0.1739, allocations: 5.906 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1739, allocations: 0 / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.1739, allocations: 3.469 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.174, allocations: 13.05 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.174, allocations: 7.594 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.955e-05/0.174, allocations: 6.562 kB / 446.2 MB, free: 45.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.01e-06/0.174, allocations: 2.906 kB / 446.2 MB, free: 45.66 MB / 410.7 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 (7): * Single equations (assignments): 7 * 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 5.961e-05/0.1741, allocations: 133.5 kB / 446.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.1741, allocations: 16.69 kB / 446.4 MB, free: 45.54 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001192/0.1742, allocations: 96.94 kB / 446.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.1742, allocations: 7.625 kB / 446.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.1742, allocations: 0 / 446.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.1742, allocations: 7.031 kB / 446.5 MB, free: 45.5 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.492e-05/0.1743, allocations: 142.2 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.1743, allocations: 6.094 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.49e-05/0.1743, allocations: 6.656 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.61e-07/0.1743, allocations: 0 / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.1743, allocations: 3.844 kB / 446.6 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.1743, allocations: 3.047 kB / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1743, allocations: 2.188 kB / 446.7 MB, free: 45.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.21e-05/0.1744, allocations: 130.8 kB / 446.8 MB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.253e-05/0.1744, allocations: 10.56 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1744, allocations: 2.75 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.839e-05/0.1745, allocations: 2.656 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.501e-05/0.1745, allocations: 3.188 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-05/0.1745, allocations: 2.625 kB / 446.8 MB, free: 45.29 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.569e-05/0.1746, allocations: 220.1 kB / 447 MB, free: 45.17 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1746, allocations: 0 / 447 MB, free: 45.17 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001469/0.1747, allocations: 21.16 kB / 447 MB, free: 45.17 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.0006291/0.1753, allocations: 441.1 kB / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1755, allocations: 39.03 kB / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1755, allocations: 0 / 447.5 MB, free: 45.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.1755, allocations: 28.28 kB / 447.5 MB, free: 45.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.1757, allocations: 21.33 kB / 447.6 MB, free: 45.02 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003196/0.176, allocations: 302.2 kB / 447.9 MB, free: 44.82 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.183e-05/0.176, allocations: 109.8 kB / 448 MB, free: 44.74 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.307e-05/0.176, allocations: 14 kB / 448 MB, free: 44.73 MB / 410.7 MB Notification: Performance of SimCode: time 5.11e-07/0.176, allocations: 0 / 448 MB, free: 44.73 MB / 410.7 MB Notification: Performance of Templates: time 0.002217/0.1783, allocations: 1.95 MB / 449.9 MB, free: 44.5 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test64.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.825074607506394]