Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.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.001435/0.001435, allocations: 95.31 kB / 20.43 MB, free: 4.137 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.001578/0.001578, allocations: 165 kB / 23.8 MB, free: 0.7695 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9219/0.9219, allocations: 158.6 MB / 185.7 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1499/0.1499, allocations: 32.37 MB / 270.4 MB, free: 14.7 MB / 266.7 MB " [Timeout remaining time 180] 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.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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.312e-05, allocations: 16.16 kB / 347.8 MB, free: 9.359 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.003378/0.003411, allocations: 1.737 MB / 349.5 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002081/0.005492, allocations: 1.521 MB / 351 MB, free: 6.082 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.739e-05/0.005579, allocations: 4 kB / 351 MB, free: 6.078 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.005893, allocations: 31.83 kB / 351 MB, free: 6.047 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002511/0.006144, allocations: 67.62 kB / 351.1 MB, free: 5.98 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002148/0.006359, allocations: 83.7 kB / 351.2 MB, free: 5.898 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001512/0.00651, allocations: 103.7 kB / 351.3 MB, free: 5.797 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.748e-05/0.006608, allocations: 4.234 kB / 351.3 MB, free: 5.793 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.924e-05/0.006687, allocations: 59.77 kB / 351.4 MB, free: 5.734 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.006797, allocations: 27.91 kB / 351.4 MB, free: 5.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.006817, allocations: 4 kB / 351.4 MB, free: 5.703 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.006922, allocations: 59.91 kB / 351.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.972e-05/0.006972, allocations: 19.91 kB / 351.5 MB, free: 5.625 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.065e-05/0.007012, allocations: 19.94 kB / 351.5 MB, free: 5.605 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002143/0.007227, allocations: 111.5 kB / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.00723, allocations: 0 / 351.6 MB, free: 5.496 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007232, allocations: 4 kB / 351.6 MB, free: 5.492 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.007237, allocations: 7.938 kB / 351.6 MB, free: 5.484 MB / 282.7 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.0004307/0.007668, allocations: 432 kB / 352 MB, free: 5.027 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.007714, allocations: 12.03 kB / 352 MB, free: 5.016 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.007774, allocations: 8.891 kB / 352 MB, free: 5.008 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001613/0.007935, allocations: 144.5 kB / 352.2 MB, free: 4.84 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.915e-05/0.007954, allocations: 4.375 kB / 352.2 MB, free: 4.836 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.526e-05/0.007979, allocations: 4.375 kB / 352.2 MB, free: 4.832 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001459/0.008125, allocations: 108 kB / 352.3 MB, free: 4.703 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.008135, allocations: 7.938 kB / 352.3 MB, free: 4.695 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.008146, allocations: 4 kB / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.136e-06/0.008154, allocations: 0 / 352.3 MB, free: 4.691 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.663e-05/0.008191, allocations: 11.98 kB / 352.3 MB, free: 4.68 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002928/0.008483, allocations: 275.8 kB / 352.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.008602, allocations: 51.11 kB / 352.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.895e-05/0.008631, allocations: 23.62 kB / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.581e-05/0.008647, allocations: 0 / 352.7 MB, free: 4.285 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.846e-05/0.008746, allocations: 69.05 kB / 352.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.001e-06/0.008747, allocations: 4 kB / 352.7 MB, free: 4.199 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003764/0.009123, allocations: 157.6 kB / 352.9 MB, free: 4.039 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.648e-05/0.00915, allocations: 77.11 kB / 353 MB, free: 3.945 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.009244, allocations: 209 kB / 353.2 MB, free: 3.727 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.009261, allocations: 33.64 kB / 353.2 MB, free: 3.688 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.009292, allocations: 138.9 kB / 353.3 MB, free: 3.547 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.515e-05/0.009317, allocations: 31.77 kB / 353.4 MB, free: 3.516 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.134e-05/0.009349, allocations: 31.31 kB / 353.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.006e-05/0.009389, allocations: 0.4923 MB / 353.9 MB, free: 2.973 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.549e-05/0.009414, allocations: 16.11 kB / 353.9 MB, free: 2.957 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.493e-05/0.009449, allocations: 72.75 kB / 354 MB, free: 2.867 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.155e-05/0.009501, allocations: 51.31 kB / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.009503, allocations: 0 / 354 MB, free: 2.809 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001033/0.009606, allocations: 89.53 kB / 354.1 MB, free: 2.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.009618, allocations: 4 kB / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.009623, allocations: 0 / 354.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.009639, allocations: 4 kB / 354.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.851e-05/0.009707, allocations: 19.92 kB / 354.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.009712, allocations: 0 / 354.1 MB, free: 2.688 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.009741, allocations: 12.06 kB / 354.2 MB, free: 2.676 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.009746, allocations: 0 / 354.2 MB, free: 2.676 MB / 282.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 (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 5.305e-05/0.009799, allocations: 170.6 kB / 354.3 MB, free: 2.5 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.009813, allocations: 11.95 kB / 354.3 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001398/0.009953, allocations: 102.5 kB / 354.4 MB, free: 2.383 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.009956, allocations: 4 kB / 354.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.00996, allocations: 3.984 kB / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.009964, allocations: 0 / 354.4 MB, free: 2.375 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000242/0.01021, allocations: 381 kB / 354.8 MB, free: 1.957 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/0.01021, allocations: 8.016 kB / 354.8 MB, free: 1.949 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.543e-05/0.01023, allocations: 8 kB / 354.8 MB, free: 1.941 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.01024, allocations: 4 kB / 354.8 MB, free: 1.938 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.01025, allocations: 4 kB / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.01025, allocations: 0 / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01025, allocations: 0 / 354.8 MB, free: 1.934 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001176/0.01037, allocations: 259.4 kB / 355.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.096e-05/0.01038, allocations: 11.94 kB / 355.1 MB, free: 1.645 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.0104, allocations: 4 kB / 355.1 MB, free: 1.641 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.9e-05/0.01043, allocations: 4 kB / 355.1 MB, free: 1.637 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.01047, allocations: 7.984 kB / 355.1 MB, free: 1.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.318e-05/0.01048, allocations: 8 kB / 355.1 MB, free: 1.621 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.01053, allocations: 170.2 kB / 355.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01053, allocations: 0 / 355.3 MB, free: 1.457 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001923/0.01072, allocations: 27.94 kB / 355.3 MB, free: 1.43 MB / 282.7 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 (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.0009971/0.01172, allocations: 488.4 kB / 355.8 MB, free: 1.043 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001338/0.01185, allocations: 55.61 kB / 355.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01185, allocations: 0 / 355.9 MB, free: 0.9844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.679e-05/0.01189, allocations: 31.67 kB / 355.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.01212, allocations: 31.83 kB / 355.9 MB, free: 0.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003268/0.01245, allocations: 201 kB / 356.1 MB, free: 0.6914 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.926e-05/0.01248, allocations: 67.25 kB / 356.2 MB, free: 0.6055 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.968e-05/0.01252, allocations: 20.61 kB / 356.2 MB, free: 0.5859 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.475e-05/0.01255, allocations: 16.5 kB / 356.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of SimCode: time 6.51e-07/0.01255, allocations: 0 / 356.2 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of Templates: time 0.004075/0.01663, allocations: 2.138 MB / 358.4 MB, free: 14.45 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2059007110074162]