Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.001399/0.001399, allocations: 91.5 kB / 21.19 MB, free: 3.375 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.001188/0.001188, allocations: 156.5 kB / 24.55 MB, free: 20 kB / 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.02/1.02, allocations: 177 MB / 204.8 MB, free: 5.605 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.2842/0.2842, allocations: 34.86 MB / 296.3 MB, free: 492 kB / 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.923e-06/1.923e-06, allocations: 0 / 378.8 MB, free: 1.996 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.759e-05/2.952e-05, allocations: 2.312 kB / 378.8 MB, free: 1.992 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002544/0.002574, allocations: 1.839 MB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001945/0.004519, allocations: 1.815 MB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.004619, allocations: 0 / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003081/0.004927, allocations: 47.64 kB / 382.5 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004386/0.005366, allocations: 151.2 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.005611, allocations: 107.6 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002498/0.005861, allocations: 211.2 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.593e-05/0.005907, allocations: 5.812 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001314/0.006038, allocations: 111.7 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001386/0.006177, allocations: 71.73 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.287e-05/0.0062, allocations: 8 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.006381, allocations: 103.9 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.006447, allocations: 39.83 kB / 383.3 MB, free: 13.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.254e-05/0.0065, allocations: 39.8 kB / 383.4 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002959/0.006796, allocations: 199.3 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.0068, allocations: 3.938 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.42e-07/0.006801, allocations: 4 kB / 383.6 MB, free: 13.23 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.006806, allocations: 3.984 kB / 383.6 MB, free: 13.23 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.0005327/0.007339, allocations: 0.511 MB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.007375, allocations: 8.031 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.309e-05/0.007438, allocations: 24.8 kB / 384.1 MB, free: 12.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002437/0.007682, allocations: 188.2 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.007702, allocations: 8.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.569e-05/0.007718, allocations: 4.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.007919, allocations: 173 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.063e-05/0.00793, allocations: 4.188 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.007942, allocations: 4.359 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.786e-06/0.00795, allocations: 11.94 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.002e-05/0.008, allocations: 19.92 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001791/0.008179, allocations: 164.4 kB / 384.7 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001461/0.008326, allocations: 94.22 kB / 384.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.372e-05/0.008369, allocations: 31.36 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.008385, allocations: 11.94 kB / 384.8 MB, free: 11.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.008529, allocations: 112.3 kB / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.032e-06/0.00853, allocations: 0 / 384.9 MB, free: 11.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002706/0.008801, allocations: 145.4 kB / 385.1 MB, free: 11.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.008855, allocations: 132.5 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002059/0.009061, allocations: 282.7 kB / 385.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.009081, allocations: 33.7 kB / 385.5 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.234e-05/0.009143, allocations: 162.9 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.604e-05/0.009179, allocations: 27.73 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.259e-05/0.009222, allocations: 39.36 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000122/0.009344, allocations: 0.504 MB / 386.2 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.00938, allocations: 12 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.037e-05/0.009461, allocations: 128.9 kB / 386.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.676e-05/0.009547, allocations: 78.69 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.009549, allocations: 0 / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001536/0.009703, allocations: 126 kB / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.009717, allocations: 6.75 kB / 386.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009723, allocations: 4 kB / 386.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.009741, allocations: 4 kB / 386.6 MB, free: 9.875 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.962e-05/0.00983, allocations: 27.86 kB / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.009838, allocations: 4 kB / 386.6 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.145e-05/0.009889, allocations: 8 kB / 386.6 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.747e-06/0.009898, allocations: 7.984 kB / 386.6 MB, free: 9.828 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.729e-05/0.009985, allocations: 160.6 kB / 386.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.903e-05/0.01001, allocations: 23.86 kB / 386.8 MB, free: 9.637 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001975/0.01021, allocations: 138.7 kB / 387 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.01021, allocations: 4 kB / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.01022, allocations: 3.938 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.01022, allocations: 4 kB / 387 MB, free: 9.488 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001342/0.01036, allocations: 172.5 kB / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01036, allocations: 0 / 387.1 MB, free: 9.285 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.498e-05/0.0104, allocations: 11.94 kB / 387.1 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.0104, allocations: 7.984 kB / 387.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.727e-06/0.01041, allocations: 0 / 387.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.01041, allocations: 0 / 387.2 MB, free: 9.266 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01041, allocations: 4 kB / 387.2 MB, free: 9.262 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.01059, allocations: 187.8 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.01062, allocations: 11.91 kB / 387.3 MB, free: 9.039 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.476e-05/0.01064, allocations: 11.98 kB / 387.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.114e-05/0.01068, allocations: 4.188 kB / 387.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.01072, allocations: 19.91 kB / 387.4 MB, free: 9.004 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-05/0.01074, allocations: 11.94 kB / 387.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000129/0.01087, allocations: 201.8 kB / 387.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01087, allocations: 0 / 387.6 MB, free: 8.797 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002244/0.01109, allocations: 55.86 kB / 387.6 MB, free: 8.742 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.00108/0.01217, allocations: 492.6 kB / 388.1 MB, free: 8.398 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001789/0.01235, allocations: 71.59 kB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.01235, allocations: 0 / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.426e-05/0.01241, allocations: 43.59 kB / 388.2 MB, free: 8.277 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.01267, allocations: 70.62 kB / 388.3 MB, free: 8.211 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.01314, allocations: 274.3 kB / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.01318, allocations: 71.98 kB / 388.6 MB, free: 7.816 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.214e-05/0.01325, allocations: 33.45 kB / 388.7 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.114e-05/0.01332, allocations: 32.48 kB / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01332, allocations: 0 / 388.7 MB, free: 7.754 MB / 362.7 MB Notification: Performance of Templates: time 0.005628/0.01894, allocations: 3.449 MB / 392.2 MB, free: 4.355 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.5899351709522307]