Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.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.001114/0.001114, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.002759/0.002759, allocations: 161 kB / 24.99 MB, free: 9.32 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 1.035/1.035, allocations: 177.1 MB / 205.3 MB, free: 5.602 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.3492/0.3492, allocations: 32.8 MB / 294.6 MB, free: 1.281 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.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") translateModel(ModelicaTest.Tables.CombiTimeTable.Test79,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 376.1 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.283e-05/3.437e-05, allocations: 9.062 kB / 376.1 MB, free: 4.891 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002967/0.003002, allocations: 1.949 MB / 378 MB, free: 2.926 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.004545, allocations: 1.099 MB / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001127/0.004657, allocations: 0 / 379.1 MB, free: 1.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005449/0.005202, allocations: 227.2 kB / 379.4 MB, free: 1.598 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004628/0.005665, allocations: 219.1 kB / 379.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003678/0.006033, allocations: 123.6 kB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002989/0.006332, allocations: 259.2 kB / 380 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001382/0.00647, allocations: 21.94 kB / 380 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001801/0.00665, allocations: 147.5 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.006811, allocations: 155.7 kB / 380.3 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.006834, allocations: 8 kB / 380.3 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.006963, allocations: 63.92 kB / 380.3 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 9.687e-05/0.00706, allocations: 67.7 kB / 380.4 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 7.136e-05/0.007131, allocations: 47.78 kB / 380.5 MB, free: 0.5078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002804/0.007412, allocations: 199.2 kB / 380.6 MB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.007415, allocations: 0 / 380.6 MB, free: 320 kB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007416, allocations: 0 / 380.6 MB, free: 320 kB / 346.7 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.007422, allocations: 0 / 380.6 MB, free: 320 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006961/0.008118, allocations: 0.604 MB / 381.2 MB, free: 15.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.008157, allocations: 12.03 kB / 381.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.275e-05/0.00822, allocations: 36.75 kB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000245/0.008465, allocations: 220.5 kB / 381.5 MB, free: 15.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.008487, allocations: 8.375 kB / 381.5 MB, free: 15.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.509e-05/0.008512, allocations: 12.31 kB / 381.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001928/0.008705, allocations: 114.3 kB / 381.6 MB, free: 15.23 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.457e-05/0.00872, allocations: 11.89 kB / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.008731, allocations: 0 / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.00874, allocations: 0 / 381.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.261e-05/0.008803, allocations: 31.97 kB / 381.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005414/0.009344, allocations: 0.5179 MB / 382.2 MB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.009636, allocations: 122.1 kB / 382.3 MB, free: 14.48 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.465e-05/0.00969, allocations: 39.48 kB / 382.4 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.009714, allocations: 4 kB / 382.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000169/0.009883, allocations: 120.3 kB / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.282e-06/0.009885, allocations: 0 / 382.5 MB, free: 14.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008637/0.01075, allocations: 473.1 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.423e-05/0.01079, allocations: 81.05 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002761/0.01107, allocations: 398.3 kB / 383.4 MB, free: 13.32 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.91e-05/0.01109, allocations: 33.7 kB / 383.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.01119, allocations: 223.3 kB / 383.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.22e-05/0.01124, allocations: 63.44 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002908/0.01153, allocations: 51.36 kB / 383.8 MB, free: 12.94 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001965/0.01173, allocations: 0.5274 MB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.76e-05/0.01181, allocations: 31.92 kB / 384.3 MB, free: 12.37 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.073e-05/0.01189, allocations: 78.72 kB / 384.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001508/0.01204, allocations: 126.7 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.01204, allocations: 4 kB / 384.5 MB, free: 12.13 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002521/0.01229, allocations: 201.5 kB / 384.7 MB, free: 11.93 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.01231, allocations: 4 kB / 384.7 MB, free: 11.92 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.676e-05/0.01233, allocations: 7.938 kB / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.01235, allocations: 0 / 384.7 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.01246, allocations: 47.92 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.01247, allocations: 3.938 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.01252, allocations: 7.984 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01254, allocations: 12 kB / 384.8 MB, free: 11.84 MB / 362.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 (26): * Single equations (assignments): 26 * 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.0001208/0.01266, allocations: 172.6 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.287e-05/0.0127, allocations: 39.77 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003477/0.01305, allocations: 229.1 kB / 385.3 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.01305, allocations: 4 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.01306, allocations: 3.938 kB / 385.3 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/0.01307, allocations: 7.984 kB / 385.3 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006928/0.01376, allocations: 0.7489 MB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.01377, allocations: 8.125 kB / 386 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.329e-05/0.01383, allocations: 31.98 kB / 386.1 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.01384, allocations: 4 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.01385, allocations: 4 kB / 386.1 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.01386, allocations: 7.984 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.01386, allocations: 3.938 kB / 386.1 MB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.01418, allocations: 0.5121 MB / 386.6 MB, free: 9.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.764e-05/0.01421, allocations: 35.77 kB / 386.6 MB, free: 9.934 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.01424, allocations: 8 kB / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.364e-05/0.01433, allocations: 11.98 kB / 386.6 MB, free: 9.914 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.763e-05/0.01438, allocations: 27.91 kB / 386.7 MB, free: 9.887 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-05/0.01441, allocations: 8 kB / 386.7 MB, free: 9.879 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001726/0.01458, allocations: 278.9 kB / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01458, allocations: 0 / 386.9 MB, free: 9.605 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002431/0.01482, allocations: 55.92 kB / 387 MB, free: 9.551 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (24): * Single equations (assignments): 20 * 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.001138/0.01596, allocations: 0.4904 MB / 387.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005718/0.01653, allocations: 132 kB / 387.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.01653, allocations: 0 / 387.6 MB, free: 9.113 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.01664, allocations: 71.53 kB / 387.7 MB, free: 9.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003762/0.01701, allocations: 65.45 kB / 387.8 MB, free: 8.977 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006636/0.01768, allocations: 0.4977 MB / 388.3 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.749e-05/0.01774, allocations: 96.3 kB / 388.3 MB, free: 8.312 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.896e-05/0.01781, allocations: 37.92 kB / 388.4 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.588e-05/0.01787, allocations: 32.48 kB / 388.4 MB, free: 8.246 MB / 362.7 MB Notification: Performance of SimCode: time 1.132e-06/0.01787, allocations: 4 kB / 388.4 MB, free: 8.242 MB / 362.7 MB Notification: Performance of Templates: time 0.006056/0.02393, allocations: 3.345 MB / 391.8 MB, free: 4.945 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test79/Test79.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.4211590050254017]