Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009538/0.0009538, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001805/0.001805, allocations: 161 kB / 24.56 MB, free: 8 kB / 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.02/1.02, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2708/0.2708, allocations: 34.26 MB / 295.7 MB, free: 0.75 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378.1 MB, free: 2.566 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.207e-05/2.37e-05, allocations: 2.312 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.00356/0.003584, allocations: 1.962 MB / 380.1 MB, free: 0.582 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.005429, allocations: 1.048 MB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.005564, allocations: 4 kB / 381.1 MB, free: 15.52 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003546/0.005919, allocations: 39.66 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004248/0.006344, allocations: 103.3 kB / 381.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.00664, allocations: 99.58 kB / 381.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002702/0.00691, allocations: 155.5 kB / 381.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001196/0.00703, allocations: 17.8 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001415/0.007172, allocations: 79.73 kB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.007288, allocations: 39.83 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.007313, allocations: 8 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.007432, allocations: 47.92 kB / 381.7 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.019e-05/0.007502, allocations: 27.84 kB / 381.7 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.37e-05/0.007566, allocations: 27.92 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.007852, allocations: 135.4 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.007855, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.007856, allocations: 0 / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.007861, allocations: 8 kB / 381.9 MB, free: 14.75 MB / 362.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.0007099/0.008571, allocations: 0.4896 MB / 382.4 MB, free: 14.21 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.008614, allocations: 12.03 kB / 382.4 MB, free: 14.2 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.128e-05/0.008695, allocations: 24.8 kB / 382.4 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002604/0.008955, allocations: 177.1 kB / 382.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.008979, allocations: 4.375 kB / 382.6 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.009006, allocations: 8.375 kB / 382.6 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.009253, allocations: 143.2 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/0.009265, allocations: 7.938 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.48e-05/0.00928, allocations: 4 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.229e-05/0.009292, allocations: 4 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.00937, allocations: 27.92 kB / 382.8 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006356/0.01001, allocations: 0.5872 MB / 383.4 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002571/0.01026, allocations: 67.16 kB / 383.4 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.512e-05/0.01032, allocations: 23.67 kB / 383.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.01033, allocations: 8 kB / 383.5 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001517/0.01049, allocations: 106.7 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.684e-06/0.01049, allocations: 0 / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.0002857/0.01077, allocations: 113.5 kB / 383.7 MB, free: 12.77 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.425e-05/0.01081, allocations: 51.41 kB / 383.7 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.01102, allocations: 247.1 kB / 384 MB, free: 12.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.103e-05/0.01104, allocations: 25.7 kB / 384 MB, free: 12.42 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/0.01114, allocations: 166.8 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.07e-05/0.01117, allocations: 31.73 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.45e-05/0.01123, allocations: 35.38 kB / 384.2 MB, free: 12.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.0114, allocations: 0.5078 MB / 384.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.915e-05/0.01144, allocations: 12 kB / 384.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.752e-05/0.0115, allocations: 62.42 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.01162, allocations: 86.3 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.01163, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002015/0.01183, allocations: 117.5 kB / 385 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.01184, allocations: 4 kB / 385 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.01185, allocations: 8 kB / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/0.01187, allocations: 0 / 385 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.644e-05/0.01196, allocations: 23.98 kB / 385.1 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.01196, allocations: 7.875 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.423e-05/0.01203, allocations: 11.94 kB / 385.1 MB, free: 11.28 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.01204, allocations: 4 kB / 385.1 MB, free: 11.28 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 0.000116/0.01215, allocations: 164.5 kB / 385.2 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/0.01219, allocations: 23.89 kB / 385.3 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002002/0.01239, allocations: 107.1 kB / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.01239, allocations: 0 / 385.4 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.0124, allocations: 4 kB / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.0124, allocations: 0 / 385.4 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.01256, allocations: 164.5 kB / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01256, allocations: 0 / 385.5 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.511e-05/0.01264, allocations: 16 kB / 385.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.154e-06/0.01264, allocations: 0 / 385.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.01265, allocations: 0 / 385.5 MB, free: 10.76 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.01265, allocations: 7.938 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.01266, allocations: 7.969 kB / 385.6 MB, free: 10.75 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.01289, allocations: 160.8 kB / 385.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.613e-05/0.01292, allocations: 15.84 kB / 385.7 MB, free: 10.55 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.01295, allocations: 7.984 kB / 385.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.14e-05/0.01299, allocations: 4 kB / 385.7 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.01303, allocations: 7.984 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.678e-05/0.01305, allocations: 4 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001216/0.01317, allocations: 171.1 kB / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01317, allocations: 0 / 385.9 MB, free: 10.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002844/0.01346, allocations: 24 kB / 385.9 MB, free: 10.34 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.001216/0.01467, allocations: 393.3 kB / 386.3 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001817/0.01485, allocations: 63.72 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.01486, allocations: 4.062 kB / 386.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.265e-05/0.01492, allocations: 35.61 kB / 386.4 MB, free: 9.977 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003238/0.01524, allocations: 42.95 kB / 386.5 MB, free: 9.938 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.01578, allocations: 261.9 kB / 386.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.564e-05/0.01584, allocations: 67.83 kB / 386.8 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.514e-05/0.0159, allocations: 17.48 kB / 386.8 MB, free: 9.547 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.126e-05/0.01595, allocations: 24.5 kB / 386.8 MB, free: 9.523 MB / 362.7 MB Notification: Performance of SimCode: time 6.61e-07/0.01595, allocations: 0 / 386.8 MB, free: 9.523 MB / 362.7 MB Notification: Performance of Templates: time 0.005682/0.02163, allocations: 2.204 MB / 389 MB, free: 7.359 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.205022130161524]