Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.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.001048/0.001048, 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.001417/0.001417, 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.034/1.034, 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.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.2844/0.2844, allocations: 34.26 MB / 296 MB, free: 0.7695 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 378.1 MB, free: 2.902 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.101e-05/3.297e-05, allocations: 6.312 kB / 378.1 MB, free: 2.895 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002735/0.002768, allocations: 1.758 MB / 379.9 MB, free: 1.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.004221, allocations: 1.009 MB / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.35e-05/0.004315, allocations: 0 / 380.9 MB, free: 108 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.004666, allocations: 51.69 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004332/0.005099, allocations: 95.53 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002389/0.005338, allocations: 79.59 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001891/0.005527, allocations: 107.6 kB / 381.2 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.516e-05/0.005623, allocations: 11.98 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.409e-05/0.005707, allocations: 55.77 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.559e-05/0.005782, allocations: 23.92 kB / 381.3 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.005798, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.771e-05/0.005886, allocations: 47.91 kB / 381.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.005941, allocations: 23.92 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.005985, allocations: 19.92 kB / 381.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001966/0.006182, allocations: 107.5 kB / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.006186, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.006187, allocations: 0 / 381.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.689e-06/0.006191, allocations: 0 / 381.5 MB, free: 15.49 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005482/0.00674, allocations: 459.8 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.006788, allocations: 12.03 kB / 381.9 MB, free: 14.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.065e-05/0.006858, allocations: 8.891 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.007107, allocations: 152.9 kB / 382.1 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.879e-05/0.007136, allocations: 8.375 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.007162, allocations: 384 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.007333, allocations: 66.88 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.007349, allocations: 3.938 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.007362, allocations: 3.984 kB / 382.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/0.007374, allocations: 4 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.469e-05/0.007409, allocations: 11.94 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003185/0.007727, allocations: 283.8 kB / 382.5 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.007842, allocations: 67.08 kB / 382.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.007873, allocations: 15.62 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.493e-05/0.007888, allocations: 4 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001152/0.008003, allocations: 69.05 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.008004, allocations: 0 / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004195/0.008423, allocations: 161.3 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.909e-05/0.008463, allocations: 59.39 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001696/0.008632, allocations: 233.9 kB / 383.1 MB, free: 13.73 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.008653, allocations: 29.7 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.008724, allocations: 150.8 kB / 383.3 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.008759, allocations: 27.78 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.301e-05/0.008802, allocations: 31.38 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001411/0.008943, allocations: 0.4923 MB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.624e-05/0.008979, allocations: 19.92 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.543e-05/0.009015, allocations: 31.36 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.109e-05/0.009076, allocations: 55.31 kB / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.009077, allocations: 0 / 383.9 MB, free: 12.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001214/0.009198, allocations: 101.6 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.009214, allocations: 8 kB / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.009218, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.009231, allocations: 0 / 384 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.815e-05/0.009309, allocations: 12 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.009315, allocations: 4 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.009347, allocations: 11.94 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.009353, allocations: 4 kB / 384 MB, free: 12.7 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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 7.891e-05/0.009432, allocations: 168.5 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.719e-05/0.009449, allocations: 15.95 kB / 384.2 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000159/0.009608, allocations: 103.1 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.009611, allocations: 4 kB / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.009615, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.009618, allocations: 0 / 384.3 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002963/0.009914, allocations: 392.9 kB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.009916, allocations: 0 / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.996e-05/0.009946, allocations: 15.98 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.009949, allocations: 3.938 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.009959, allocations: 8.031 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.009961, allocations: 4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.009963, allocations: 384 / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001422/0.01011, allocations: 255.4 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.345e-05/0.01012, allocations: 11.91 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.783e-05/0.01014, allocations: 0 / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.96e-05/0.01019, allocations: 15.98 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.01022, allocations: 7.984 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.01024, allocations: 4 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.16e-05/0.01032, allocations: 180.1 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01032, allocations: 4 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001834/0.0105, allocations: 27.92 kB / 385.2 MB, free: 11.42 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: 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 (9): * Single equations (assignments): 7 * 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.000978/0.01148, allocations: 432.1 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01161, allocations: 59.59 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.01161, allocations: 0 / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.977e-05/0.01165, allocations: 27.67 kB / 385.7 MB, free: 11.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002435/0.01189, allocations: 41.53 kB / 385.8 MB, free: 11.03 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.01225, allocations: 233.9 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.295e-05/0.01229, allocations: 71.33 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.419e-05/0.01233, allocations: 12.97 kB / 386.1 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.13e-05/0.01236, allocations: 16.5 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of SimCode: time 8.81e-07/0.01236, allocations: 0 / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of Templates: time 0.003563/0.01592, allocations: 1.864 MB / 388 MB, free: 8.809 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.1835943469777703]