Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001237/0.001237, allocations: 83.58 kB / 21.19 MB, free: 3.383 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.0009671/0.0009671, allocations: 161 kB / 24.56 MB, free: 16 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 0.9127/0.9127, allocations: 177.1 MB / 205 MB, free: 5.637 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.2341/0.2341, allocations: 32.8 MB / 294.3 MB, free: 1.285 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 376.1 MB, free: 4.602 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.339e-05, allocations: 6.25 kB / 376.1 MB, free: 4.594 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002815/0.002838, allocations: 1.855 MB / 377.9 MB, free: 2.727 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.005225, allocations: 1.793 MB / 379.7 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.848e-05/0.005303, allocations: 4 kB / 379.7 MB, free: 0.9219 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002407/0.005544, allocations: 55.61 kB / 379.8 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.005927, allocations: 147.2 kB / 379.9 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.006165, allocations: 111.6 kB / 380.1 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002474/0.006412, allocations: 215.2 kB / 380.3 MB, free: 412 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.693e-05/0.006449, allocations: 5.812 kB / 380.3 MB, free: 404 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001478/0.006597, allocations: 107.7 kB / 380.4 MB, free: 296 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001378/0.006735, allocations: 63.75 kB / 380.4 MB, free: 232 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.411e-05/0.006759, allocations: 12 kB / 380.4 MB, free: 220 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001737/0.006933, allocations: 111.8 kB / 380.6 MB, free: 108 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.728e-05/0.00699, allocations: 35.84 kB / 380.6 MB, free: 72 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.546e-05/0.007045, allocations: 39.86 kB / 380.6 MB, free: 32 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003095/0.007355, allocations: 207.4 kB / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953e-06/0.007357, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.007357, allocations: 0 / 380.8 MB, free: 15.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.007361, allocations: 0 / 380.8 MB, free: 15.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005167/0.007877, allocations: 0.5149 MB / 381.3 MB, free: 15.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.00791, allocations: 8.031 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.948e-05/0.00797, allocations: 24.8 kB / 381.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.008198, allocations: 196.2 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.008212, allocations: 384 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.008229, allocations: 8.375 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.008413, allocations: 161.1 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.00842, allocations: 3.938 kB / 381.7 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.008433, allocations: 7.984 kB / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.008439, allocations: 0 / 381.7 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.794e-05/0.008497, allocations: 23.92 kB / 381.8 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001748/0.008671, allocations: 172.3 kB / 381.9 MB, free: 14.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.008828, allocations: 102.2 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.695e-05/0.008885, allocations: 31.36 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.065e-05/0.008896, allocations: 7.938 kB / 382.1 MB, free: 14.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001357/0.009032, allocations: 104.4 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.009033, allocations: 3.938 kB / 382.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002857/0.009318, allocations: 149.5 kB / 382.3 MB, free: 14.12 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/0.009375, allocations: 136.4 kB / 382.5 MB, free: 13.96 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.009615, allocations: 278.7 kB / 382.7 MB, free: 13.67 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.009633, allocations: 29.7 kB / 382.8 MB, free: 13.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.838e-05/0.009702, allocations: 162.9 kB / 382.9 MB, free: 13.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.899e-05/0.009741, allocations: 31.78 kB / 383 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-05/0.009792, allocations: 31.38 kB / 383 MB, free: 13.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.009929, allocations: 0.504 MB / 383.5 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.028e-05/0.009969, allocations: 11.98 kB / 383.5 MB, free: 12.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.087e-05/0.01006, allocations: 129.5 kB / 383.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001029/0.01016, allocations: 83.2 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.01016, allocations: 0 / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001822/0.01035, allocations: 121.5 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.01036, allocations: 4 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.01036, allocations: 3.938 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.157e-06/0.01037, allocations: 7.938 kB / 383.8 MB, free: 12.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.01046, allocations: 16 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.01047, allocations: 7.984 kB / 383.9 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.262e-05/0.01053, allocations: 8.062 kB / 383.9 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.568e-06/0.01054, allocations: 4 kB / 383.9 MB, free: 12.43 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.904e-05/0.01063, allocations: 168.5 kB / 384 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.163e-05/0.01067, allocations: 27.84 kB / 384.1 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002242/0.01089, allocations: 138.7 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.0109, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.284e-06/0.0109, allocations: 0 / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.0109, allocations: 7.938 kB / 384.2 MB, free: 12.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001452/0.01105, allocations: 164.5 kB / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.01105, allocations: 256 / 384.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.228e-05/0.01109, allocations: 27.98 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.01109, allocations: 0 / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.0111, allocations: 0 / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.01111, allocations: 7.938 kB / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.01111, allocations: 0 / 384.4 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002208/0.01133, allocations: 179.8 kB / 384.6 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.219e-05/0.01136, allocations: 31.89 kB / 384.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.764e-05/0.01139, allocations: 0 / 384.6 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.97e-05/0.01145, allocations: 11.94 kB / 384.6 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.184e-05/0.01148, allocations: 11.97 kB / 384.6 MB, free: 11.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.01149, allocations: 11.98 kB / 384.7 MB, free: 11.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001537/0.01165, allocations: 205.8 kB / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01165, allocations: 0 / 384.9 MB, free: 11.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002959/0.01194, allocations: 55.86 kB / 384.9 MB, free: 11.33 MB / 362.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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.001251/0.01319, allocations: 495.8 kB / 385.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001596/0.01335, allocations: 71.58 kB / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01336, allocations: 0 / 385.5 MB, free: 10.95 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.856e-05/0.01342, allocations: 39.61 kB / 385.5 MB, free: 10.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003314/0.01376, allocations: 74.17 kB / 385.6 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004587/0.01421, allocations: 282.3 kB / 385.8 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.868e-05/0.01426, allocations: 71.98 kB / 385.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 8.077e-05/0.01434, allocations: 33.55 kB / 386 MB, free: 10.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.419e-05/0.01441, allocations: 32.47 kB / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.01441, allocations: 0 / 386 MB, free: 10.38 MB / 362.7 MB Notification: Performance of Templates: time 0.006858/0.02127, allocations: 3.742 MB / 389.7 MB, free: 6.688 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.0665209982544184]