Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.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.0009846/0.0009846, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0009148/0.0009148, allocations: 163.9 kB / 24.99 MB, free: 8.336 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.056/1.056, allocations: 177.1 MB / 205.3 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.2684/0.2684, allocations: 34.26 MB / 296 MB, free: 0.6758 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.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 0 / 378.1 MB, free: 2.891 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/1.973e-05, allocations: 2.312 kB / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.005542/0.005562, allocations: 1.762 MB / 379.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001336/0.006898, allocations: 1.012 MB / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.933e-05/0.006967, allocations: 0 / 380.9 MB, free: 96 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002433/0.00721, allocations: 39.77 kB / 380.9 MB, free: 56 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003094/0.0103, allocations: 99.48 kB / 381 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.01048, allocations: 83.59 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.01064, allocations: 111.6 kB / 381.2 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.027e-05/0.01072, allocations: 4 kB / 381.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.427e-05/0.0108, allocations: 51.84 kB / 381.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.01087, allocations: 31.89 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.47e-05/0.01089, allocations: 4 kB / 381.3 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.283e-05/0.01097, allocations: 47.86 kB / 381.3 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 4.731e-05/0.01102, allocations: 19.92 kB / 381.4 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.26e-05/0.01106, allocations: 27.86 kB / 381.4 MB, free: 15.58 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001771/0.01124, allocations: 99.66 kB / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.01124, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.01124, allocations: 0 / 381.5 MB, free: 15.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.287e-06/0.01124, allocations: 0 / 381.5 MB, free: 15.48 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.0004525/0.0117, allocations: 455.8 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.01173, allocations: 8.031 kB / 381.9 MB, free: 15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.689e-05/0.01178, allocations: 12.89 kB / 382 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001732/0.01195, allocations: 164.8 kB / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.01196, allocations: 384 / 382.1 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.01198, allocations: 8.375 kB / 382.1 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.0121, allocations: 66.94 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.01211, allocations: 7.875 kB / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.566e-06/0.01212, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.01213, allocations: 0 / 382.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.01217, allocations: 11.98 kB / 382.2 MB, free: 14.7 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.01246, allocations: 287.8 kB / 382.5 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001007/0.01256, allocations: 51.17 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.288e-05/0.01259, allocations: 19.62 kB / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/0.0126, allocations: 0 / 382.6 MB, free: 14.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.37e-05/0.0127, allocations: 73.05 kB / 382.6 MB, free: 14.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.142e-06/0.0127, allocations: 3.938 kB / 382.6 MB, free: 14.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003767/0.01307, allocations: 157.3 kB / 382.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.341e-05/0.01311, allocations: 63.34 kB / 382.8 MB, free: 13.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.01326, allocations: 233.9 kB / 383.1 MB, free: 13.72 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.01328, allocations: 25.7 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.441e-05/0.01334, allocations: 158.8 kB / 383.3 MB, free: 13.53 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.65e-05/0.01337, allocations: 23.8 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.01341, allocations: 31.36 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.01353, allocations: 0.4962 MB / 383.8 MB, free: 12.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.595e-05/0.01356, allocations: 12 kB / 383.8 MB, free: 12.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.111e-05/0.0136, allocations: 35.36 kB / 383.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.793e-05/0.01367, allocations: 59.22 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.01367, allocations: 0 / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001225/0.01379, allocations: 89.7 kB / 384 MB, free: 12.75 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.0138, allocations: 4 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.0138, allocations: 0 / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.01382, allocations: 4 kB / 384 MB, free: 12.74 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.366e-05/0.01389, allocations: 19.92 kB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.01389, allocations: 4.031 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.461e-05/0.01393, allocations: 7.953 kB / 384 MB, free: 12.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.01393, allocations: 0 / 384 MB, free: 12.71 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.413e-05/0.01401, allocations: 168.5 kB / 384.2 MB, free: 12.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.184e-05/0.01403, allocations: 15.95 kB / 384.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001592/0.01419, allocations: 107.1 kB / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.01419, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.986e-06/0.01419, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.0142, allocations: 0 / 384.3 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003092/0.01451, allocations: 408.9 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.01451, allocations: 0 / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.846e-05/0.01454, allocations: 8 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.01454, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.01455, allocations: 8 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.01455, allocations: 0 / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.01455, allocations: 3.938 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001599/0.01471, allocations: 251.5 kB / 385 MB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.01473, allocations: 15.89 kB / 385 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.01475, allocations: 8.312 kB / 385 MB, free: 11.65 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.892e-05/0.0148, allocations: 4 kB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.01484, allocations: 16.02 kB / 385 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.01485, allocations: 4 kB / 385 MB, free: 11.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.28e-05/0.01494, allocations: 176.1 kB / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01494, allocations: 0 / 385.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002485/0.01519, allocations: 31.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.001031/0.01622, allocations: 426.1 kB / 385.7 MB, free: 11.16 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001208/0.01634, allocations: 55.58 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.01634, allocations: 0 / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002773/0.01662, allocations: 39.67 kB / 385.7 MB, free: 11.06 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.01691, allocations: 34.55 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.0003494/0.01726, allocations: 229.8 kB / 386 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.0173, allocations: 71.33 kB / 386.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.736e-05/0.01734, 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.019e-05/0.01737, allocations: 16.5 kB / 386.1 MB, free: 10.65 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.01737, allocations: 4.062 kB / 386.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of Templates: time 0.003776/0.02115, allocations: 1.874 MB / 388 MB, free: 8.797 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.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.232150238007307]