Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.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.000925/0.000925, allocations: 71.77 kB / 21.69 MB, free: 2.855 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.001032/0.001032, allocations: 164.4 kB / 24.99 MB, free: 8.297 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.007/1.007, allocations: 177.1 MB / 205.3 MB, free: 5.574 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.2693/0.2693, allocations: 32.81 MB / 294.6 MB, free: 1.293 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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.715e-06/2.715e-06, allocations: 0 / 376.1 MB, free: 4.941 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.985e-05/4.257e-05, allocations: 6.312 kB / 376.1 MB, free: 4.934 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003498/0.003541, allocations: 1.958 MB / 378 MB, free: 2.957 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.005158, allocations: 1.047 MB / 379.1 MB, free: 1.906 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001317/0.00529, allocations: 3.938 kB / 379.1 MB, free: 1.902 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.005645, allocations: 47.64 kB / 379.1 MB, free: 1.855 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003683/0.006013, allocations: 99.47 kB / 379.2 MB, free: 1.758 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002827/0.006296, allocations: 95.58 kB / 379.3 MB, free: 1.664 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002259/0.006522, allocations: 151.5 kB / 379.5 MB, free: 1.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.006643, allocations: 21.8 kB / 379.5 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/0.006761, allocations: 83.73 kB / 379.6 MB, free: 1.414 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.486e-05/0.006856, allocations: 31.91 kB / 379.6 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.131e-05/0.006877, allocations: 8 kB / 379.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.006987, allocations: 51.91 kB / 379.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.967e-05/0.007056, allocations: 27.86 kB / 379.7 MB, free: 1.297 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.007116, allocations: 35.84 kB / 379.7 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002478/0.007364, allocations: 127.4 kB / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.00737, allocations: 0 / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.007372, allocations: 0 / 379.8 MB, free: 1.137 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.007378, allocations: 0 / 379.8 MB, free: 1.137 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006078/0.007986, allocations: 0.5052 MB / 380.4 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.008031, allocations: 8.031 kB / 380.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.637e-05/0.008097, allocations: 24.8 kB / 380.4 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.008327, allocations: 169.2 kB / 380.5 MB, free: 372 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.453e-05/0.008352, allocations: 4.375 kB / 380.6 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.846e-05/0.00838, allocations: 8.375 kB / 380.6 MB, free: 360 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002297/0.00861, allocations: 143.6 kB / 380.7 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.008619, allocations: 3.938 kB / 380.7 MB, free: 184 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.008635, allocations: 8 kB / 380.7 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.037e-05/0.008645, allocations: 0 / 380.7 MB, free: 176 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.533e-05/0.00871, allocations: 31.61 kB / 380.7 MB, free: 148 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.009317, allocations: 0.5872 MB / 381.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002203/0.009537, allocations: 75.09 kB / 381.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.009579, allocations: 19.69 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.38e-05/0.009593, allocations: 4 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/0.009745, allocations: 102.7 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.009746, allocations: 0 / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002484/0.009994, allocations: 109.5 kB / 381.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.01003, allocations: 51.41 kB / 381.7 MB, free: 15.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001602/0.01019, allocations: 251 kB / 381.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.766e-05/0.01021, allocations: 33.7 kB / 382 MB, free: 14.8 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.307e-05/0.01029, allocations: 170.7 kB / 382.1 MB, free: 14.63 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.712e-05/0.01032, allocations: 35.72 kB / 382.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.407e-05/0.01036, allocations: 31.38 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.01049, allocations: 0.5039 MB / 382.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.209e-05/0.01052, allocations: 8 kB / 382.7 MB, free: 14.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.01058, allocations: 66.42 kB / 382.8 MB, free: 13.95 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.453e-05/0.01066, allocations: 82.36 kB / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.01066, allocations: 0 / 382.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001747/0.01084, allocations: 113.5 kB / 383 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.01085, allocations: 8 kB / 383 MB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01086, allocations: 4.125 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.01087, allocations: 4 kB / 383 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.839e-05/0.01095, allocations: 27.92 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.871e-06/0.01096, allocations: 0 / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.961e-05/0.011, allocations: 11.94 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.01101, allocations: 4 kB / 383 MB, free: 13.67 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.141e-05/0.0111, allocations: 176.4 kB / 383.2 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.185e-05/0.01112, allocations: 19.91 kB / 383.2 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.01128, allocations: 103.1 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.01128, allocations: 8 kB / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.01129, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01129, allocations: 0 / 383.3 MB, free: 13.36 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001223/0.01141, allocations: 168.5 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.01142, allocations: 0 / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.01148, allocations: 8 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.01148, allocations: 0 / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.01149, allocations: 4 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.0115, allocations: 3.984 kB / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.0115, allocations: 0 / 383.5 MB, free: 13.14 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001911/0.01169, allocations: 160.8 kB / 383.7 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.779e-05/0.01171, allocations: 19.88 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.581e-05/0.01173, allocations: 3.984 kB / 383.7 MB, free: 12.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.306e-05/0.01177, allocations: 7.938 kB / 383.7 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.0118, allocations: 11.98 kB / 383.7 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.438e-05/0.01182, allocations: 4 kB / 383.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.599e-05/0.0119, allocations: 171.1 kB / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0119, allocations: 0 / 383.9 MB, free: 12.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001688/0.01207, allocations: 28 kB / 383.9 MB, free: 12.72 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.000865/0.01294, allocations: 385.8 kB / 384.3 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.01309, allocations: 63.59 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.01309, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.896e-05/0.01314, allocations: 31.86 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002479/0.01339, allocations: 62.22 kB / 384.4 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.01383, allocations: 250 kB / 384.7 MB, free: 12.05 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.182e-05/0.01387, allocations: 71.83 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.164e-05/0.01392, allocations: 13.48 kB / 384.8 MB, free: 11.94 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.117e-05/0.01395, allocations: 16.5 kB / 384.8 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 9.71e-07/0.01395, allocations: 4 kB / 384.8 MB, free: 11.92 MB / 362.7 MB Notification: Performance of Templates: time 0.004186/0.01814, allocations: 2.07 MB / 386.8 MB, free: 9.883 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.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.1710822279565036]