Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001047/0.001047, allocations: 81.91 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001246/0.001246, allocations: 160 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.012/1.012, allocations: 177 MB / 205.1 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2956/0.2956, allocations: 34.87 MB / 296.6 MB, free: 0.5273 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") translateModel(ModelicaTest.Tables.CombiTimeTable.Test45,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 379.3 MB, free: 1.785 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.592e-05, allocations: 7.016 kB / 379.3 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.003411/0.003427, allocations: 1.763 MB / 381.1 MB, free: 0 / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001269/0.004696, allocations: 1.001 MB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.502e-05/0.004761, allocations: 4 kB / 382.1 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.004999, allocations: 39.7 kB / 382.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002591/0.005258, allocations: 95.53 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003185/0.008442, allocations: 83.55 kB / 382.3 MB, free: 14.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001529/0.008595, allocations: 111.7 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.205e-05/0.008667, allocations: 11.94 kB / 382.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.441e-05/0.008752, allocations: 51.84 kB / 382.5 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.419e-05/0.008816, allocations: 27.89 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.008829, allocations: 8 kB / 382.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.967e-05/0.008909, allocations: 43.92 kB / 382.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.09e-05/0.00895, allocations: 23.91 kB / 382.6 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.435e-05/0.008984, allocations: 19.88 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001548/0.009139, allocations: 103.6 kB / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.993e-06/0.009141, allocations: 0 / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.009142, allocations: 0 / 382.7 MB, free: 14.38 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.009145, allocations: 4 kB / 382.7 MB, free: 14.38 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.000383/0.009528, allocations: 455.8 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.995e-05/0.009558, allocations: 8.031 kB / 383.2 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.009593, allocations: 16.88 kB / 383.2 MB, free: 13.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.009727, allocations: 152.9 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.319e-05/0.009741, allocations: 384 / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.543e-05/0.009756, allocations: 8.375 kB / 383.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.098e-05/0.009847, allocations: 62.86 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.009855, allocations: 4.125 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.009862, allocations: 4.375 kB / 383.4 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.009868, allocations: 11.94 kB / 383.4 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.39e-05/0.009892, allocations: 7.984 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002182/0.01011, allocations: 256.4 kB / 383.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.027e-05/0.01019, allocations: 51.11 kB / 383.7 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.182e-05/0.01021, allocations: 15.67 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/0.01023, allocations: 4 kB / 383.7 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.422e-05/0.01031, allocations: 65.05 kB / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.01031, allocations: 0 / 383.8 MB, free: 13.15 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.000293/0.0106, allocations: 149.3 kB / 383.9 MB, free: 13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.198e-05/0.01063, allocations: 51.41 kB / 384 MB, free: 12.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.01075, allocations: 229.8 kB / 384.2 MB, free: 12.69 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.373e-05/0.01077, allocations: 33.7 kB / 384.3 MB, free: 12.65 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.684e-05/0.01083, allocations: 150.8 kB / 384.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.01085, allocations: 23.8 kB / 384.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.922e-05/0.01089, allocations: 35.34 kB / 384.5 MB, free: 12.43 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001161/0.01101, allocations: 0.4962 MB / 385 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.917e-05/0.01102, allocations: 15.92 kB / 385 MB, free: 11.91 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.913e-05/0.01105, allocations: 23.38 kB / 385 MB, free: 11.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.985e-05/0.0111, allocations: 51.34 kB / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.0111, allocations: 0 / 385 MB, free: 11.82 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.003119/0.01422, allocations: 89.84 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.01423, allocations: 8 kB / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.057e-06/0.01424, allocations: 0 / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.01425, allocations: 0 / 385.1 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.106e-05/0.01431, allocations: 19.98 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.785e-06/0.01431, allocations: 4 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.213e-05/0.01435, allocations: 4 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.01435, allocations: 4 kB / 385.2 MB, free: 11.69 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.149e-05/0.01442, allocations: 164.5 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.338e-05/0.01445, allocations: 27.83 kB / 385.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001327/0.01458, allocations: 95.08 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01458, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-06/0.01458, allocations: 0 / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.107e-06/0.01459, allocations: 3.984 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002721/0.01486, allocations: 365.5 kB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.01486, allocations: 0 / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.552e-05/0.01489, allocations: 8 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.01489, allocations: 8.031 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.0149, allocations: 3.984 kB / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.0149, allocations: 0 / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.0149, allocations: 0 / 385.8 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.01505, allocations: 259.4 kB / 386.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.306e-05/0.01506, allocations: 11.94 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.569e-05/0.01508, allocations: 0 / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.837e-05/0.01514, allocations: 4 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.01516, allocations: 11.98 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.01517, allocations: 0 / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.65e-05/0.01525, allocations: 184.2 kB / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01525, allocations: 0 / 386.3 MB, free: 10.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002277/0.01547, allocations: 23.94 kB / 386.3 MB, free: 10.46 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.000931/0.0164, allocations: 436.5 kB / 386.7 MB, free: 10.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.089e-05/0.0165, allocations: 51.59 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.0165, allocations: 0 / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.521e-05/0.01653, allocations: 27.66 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.0168, allocations: 39.62 kB / 386.9 MB, free: 10.04 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.02011, allocations: 229.8 kB / 387.1 MB, free: 9.785 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.106e-05/0.02015, allocations: 67.34 kB / 387.1 MB, free: 9.699 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002522/0.0204, allocations: 17.27 kB / 387.2 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.35e-05/0.02048, allocations: 90.19 kB / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02048, allocations: 0 / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of Templates: time 0.006819/0.0273, allocations: 2.042 MB / 389.3 MB, free: 7.578 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test45/Test45.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: 2.9891722700558603]