Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.000701/0.000701, allocations: 84.44 kB / 20.69 MB, free: 3.871 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.0007452/0.0007452, allocations: 173.9 kB / 23.96 MB, free: 0.5977 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.793/0.793, allocations: 158.6 MB / 185.7 MB, free: 3.035 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.1294/0.1294, allocations: 32.37 MB / 270.4 MB, free: 14.98 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.492e-05/1.616e-05, allocations: 5.938 kB / 408.2 MB, free: 12.95 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.001852/0.001868, allocations: 1.808 MB / 410 MB, free: 11.12 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000858/0.002726, allocations: 0.8698 MB / 410.9 MB, free: 10.25 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.536e-05/0.002792, allocations: 3.938 kB / 410.9 MB, free: 10.24 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003555/0.003147, allocations: 255.2 kB / 411.1 MB, free: 9.992 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002344/0.003382, allocations: 179.4 kB / 411.3 MB, free: 9.816 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.003589, allocations: 155.5 kB / 411.4 MB, free: 9.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001962/0.003785, allocations: 255.2 kB / 411.7 MB, free: 9.414 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.003873, allocations: 9.812 kB / 411.7 MB, free: 9.406 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.003993, allocations: 151.6 kB / 411.8 MB, free: 9.258 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001427/0.004136, allocations: 179.6 kB / 412 MB, free: 9.082 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.004154, allocations: 8 kB / 412 MB, free: 9.074 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.084e-05/0.004225, allocations: 47.91 kB / 412.1 MB, free: 9.027 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.236e-05/0.004288, allocations: 63.78 kB / 412.1 MB, free: 8.965 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.713e-05/0.004335, allocations: 47.78 kB / 412.2 MB, free: 8.918 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.004538, allocations: 227 kB / 412.4 MB, free: 8.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.543e-06/0.004539, allocations: 3.938 kB / 412.4 MB, free: 8.691 MB / 346.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.00454, allocations: 4 kB / 412.4 MB, free: 8.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.376e-06/0.004544, allocations: 0 / 412.4 MB, free: 8.688 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004537/0.004997, allocations: 496.4 kB / 412.9 MB, free: 8.172 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.002e-05/0.005027, allocations: 12.03 kB / 412.9 MB, free: 8.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.226e-05/0.005069, allocations: 32.7 kB / 412.9 MB, free: 8.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.005272, allocations: 225.7 kB / 413.2 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.005283, allocations: 384 / 413.2 MB, free: 7.883 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.015e-05/0.005303, allocations: 8.375 kB / 413.2 MB, free: 7.875 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.005447, allocations: 103.8 kB / 413.3 MB, free: 7.762 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.005457, allocations: 3.938 kB / 413.3 MB, free: 7.758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.457e-06/0.005466, allocations: 4 kB / 413.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.00547, allocations: 0 / 413.3 MB, free: 7.754 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.326e-05/0.005544, allocations: 43.91 kB / 413.3 MB, free: 7.711 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003216/0.005865, allocations: 392.6 kB / 413.7 MB, free: 7.293 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.006029, allocations: 125.2 kB / 413.8 MB, free: 7.152 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.331e-05/0.006082, allocations: 45.69 kB / 413.9 MB, free: 7.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.211e-05/0.006094, allocations: 3.984 kB / 413.9 MB, free: 7.098 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000131/0.006225, allocations: 117 kB / 414 MB, free: 6.965 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 8.52e-07/0.006226, allocations: 0 / 414 MB, free: 6.965 MB / 346.7 MB Notification: Performance of matching and sorting (n=16): time 0.0007602/0.006986, allocations: 388.5 kB / 414.4 MB, free: 6.578 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.007018, allocations: 89.05 kB / 414.5 MB, free: 6.473 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002848/0.007303, allocations: 489.7 kB / 414.9 MB, free: 5.988 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.347e-05/0.007317, allocations: 29.7 kB / 415 MB, free: 5.953 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.82e-05/0.007385, allocations: 160.4 kB / 415.1 MB, free: 5.793 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.00742, allocations: 51.59 kB / 415.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.007454, allocations: 33.72 kB / 415.2 MB, free: 5.703 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.211e-05/0.007536, allocations: 350.7 kB / 415.6 MB, free: 5.352 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.007592, allocations: 39.98 kB / 415.6 MB, free: 5.312 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.696e-05/0.007659, allocations: 81.45 kB / 415.7 MB, free: 5.223 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.007788, allocations: 127.5 kB / 415.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.007789, allocations: 0 / 415.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00018/0.007969, allocations: 193.3 kB / 416 MB, free: 4.891 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.00798, allocations: 6.656 kB / 416 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.007985, allocations: 0 / 416 MB, free: 4.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.007996, allocations: 7.984 kB / 416 MB, free: 4.879 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.056e-05/0.008077, allocations: 35.92 kB / 416 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.008084, allocations: 7.938 kB / 416 MB, free: 4.836 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.056e-05/0.008124, allocations: 8.062 kB / 416 MB, free: 4.828 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.086e-06/0.008133, allocations: 8 kB / 416.1 MB, free: 4.82 MB / 346.7 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.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.521e-05/0.008228, allocations: 173.7 kB / 416.2 MB, free: 4.641 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.008251, allocations: 35.8 kB / 416.3 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002375/0.008488, allocations: 220.3 kB / 416.5 MB, free: 4.379 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.008491, allocations: 4 kB / 416.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.008494, allocations: 0.75 kB / 416.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.008498, allocations: 0 / 416.5 MB, free: 4.375 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004219/0.00892, allocations: 0.585 MB / 417.1 MB, free: 3.746 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.008922, allocations: 7.984 kB / 417.1 MB, free: 3.738 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.37e-05/0.008956, allocations: 19.94 kB / 417.1 MB, free: 3.719 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.008959, allocations: 8 kB / 417.1 MB, free: 3.711 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.008969, allocations: 7.984 kB / 417.1 MB, free: 3.703 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.008971, allocations: 4 kB / 417.1 MB, free: 3.699 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.008973, allocations: 4.016 kB / 417.1 MB, free: 3.695 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.009192, allocations: 388.1 kB / 417.5 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.932e-05/0.009211, allocations: 27.83 kB / 417.5 MB, free: 3.266 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/0.009234, allocations: 15.98 kB / 417.5 MB, free: 3.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.787e-05/0.009302, allocations: 4 kB / 417.5 MB, free: 3.246 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.385e-05/0.009335, allocations: 19.91 kB / 417.6 MB, free: 3.227 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.009349, allocations: 8 kB / 417.6 MB, free: 3.219 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.00955, allocations: 367.1 kB / 417.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.00955, allocations: 0 / 417.9 MB, free: 2.863 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002071/0.009757, allocations: 39.94 kB / 418 MB, free: 2.824 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 14 * 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.0006535/0.01041, allocations: 0.4941 MB / 418.5 MB, free: 2.379 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001676/0.01058, allocations: 115.9 kB / 418.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.01058, allocations: 0 / 418.6 MB, free: 2.266 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.368e-05/0.01065, allocations: 60.16 kB / 418.6 MB, free: 2.207 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.01096, allocations: 65.45 kB / 418.7 MB, free: 2.141 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005282/0.01148, allocations: 0.5736 MB / 419.3 MB, free: 1.527 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001014/0.01159, allocations: 173.4 kB / 419.4 MB, free: 1.336 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.209e-05/0.01163, allocations: 32.47 kB / 419.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.01163, allocations: 0 / 419.5 MB, free: 1.305 MB / 346.7 MB Notification: Performance of Templates: time 0.003377/0.01501, allocations: 3.511 MB / 423 MB, free: 13.79 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.613098049536347]