Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.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.001539/0.001539, allocations: 91.5 kB / 21.19 MB, free: 3.371 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.002043/0.002043, allocations: 156.5 kB / 24.55 MB, free: 12 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 0.9806/0.9806, allocations: 177 MB / 204.8 MB, free: 5.594 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.2648/0.2648, allocations: 34.86 MB / 296.3 MB, free: 0.5234 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.Test81,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.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_trunk_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.835e-06/2.835e-06, allocations: 0 / 378.8 MB, free: 2.008 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.253e-05/3.537e-05, allocations: 2.312 kB / 378.8 MB, free: 2.004 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.00284/0.002876, allocations: 1.849 MB / 380.7 MB, free: 144 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002093/0.004969, allocations: 1.808 MB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.888e-05/0.005068, allocations: 3.938 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.00537, allocations: 55.62 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004459/0.005816, allocations: 139.2 kB / 382.7 MB, free: 14.13 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002774/0.006093, allocations: 107.6 kB / 382.8 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.006352, allocations: 219.2 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.017e-05/0.006412, allocations: 5.812 kB / 383 MB, free: 13.8 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00014/0.006552, allocations: 111.7 kB / 383.1 MB, free: 13.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001464/0.006699, allocations: 59.75 kB / 383.2 MB, free: 13.63 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.67e-05/0.006725, allocations: 16 kB / 383.2 MB, free: 13.62 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001928/0.006918, allocations: 107.9 kB / 383.3 MB, free: 13.51 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.006979, allocations: 35.84 kB / 383.3 MB, free: 13.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.089e-05/0.00703, allocations: 35.86 kB / 383.4 MB, free: 13.44 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002843/0.007314, allocations: 207.2 kB / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.007319, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.00732, allocations: 0 / 383.6 MB, free: 13.24 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.007326, allocations: 0 / 383.6 MB, free: 13.24 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.0005758/0.007902, allocations: 0.5187 MB / 384.1 MB, free: 12.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.179e-05/0.007944, allocations: 12.03 kB / 384.1 MB, free: 12.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.635e-05/0.00801, allocations: 28.8 kB / 384.1 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002272/0.008237, allocations: 184.3 kB / 384.3 MB, free: 12.44 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.253e-05/0.00826, allocations: 8.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.272e-05/0.008273, allocations: 4.375 kB / 384.3 MB, free: 12.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.008461, allocations: 169 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.008468, allocations: 192 / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.00848, allocations: 4.375 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.373e-06/0.008487, allocations: 3.938 kB / 384.5 MB, free: 12.21 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.008529, allocations: 15.98 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001692/0.008698, allocations: 172.3 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001618/0.00886, allocations: 102.1 kB / 384.8 MB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.365e-05/0.008904, allocations: 35.36 kB / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.008916, allocations: 0 / 384.8 MB, free: 11.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001438/0.00906, allocations: 116.3 kB / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.71e-07/0.00906, allocations: 0 / 384.9 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002582/0.009319, allocations: 141.5 kB / 385.1 MB, free: 11.54 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.761e-05/0.009376, allocations: 144.4 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001898/0.009566, allocations: 278.7 kB / 385.5 MB, free: 11.08 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.576e-05/0.009582, allocations: 25.7 kB / 385.5 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.762e-05/0.009639, allocations: 170.8 kB / 385.7 MB, free: 10.88 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.638e-05/0.009676, allocations: 31.78 kB / 385.7 MB, free: 10.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.652e-05/0.009712, allocations: 31.38 kB / 385.7 MB, free: 10.8 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004604/0.01017, allocations: 0.5001 MB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.09e-05/0.01021, allocations: 15.98 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.01028, allocations: 128.5 kB / 386.4 MB, free: 10.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.896e-05/0.01036, allocations: 87.2 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.01036, allocations: 0 / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001373/0.0105, allocations: 125.4 kB / 386.6 MB, free: 9.887 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.333e-05/0.01051, allocations: 8 kB / 386.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01052, allocations: 0 / 386.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.01053, allocations: 0 / 386.6 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.425e-05/0.01061, allocations: 23.94 kB / 386.6 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.01062, allocations: 3.984 kB / 386.6 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.56e-05/0.01066, allocations: 4.062 kB / 386.6 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.01067, allocations: 12 kB / 386.6 MB, free: 9.836 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.539e-05/0.01076, allocations: 168.5 kB / 386.8 MB, free: 9.66 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.71e-05/0.01079, allocations: 27.84 kB / 386.8 MB, free: 9.633 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001838/0.01097, allocations: 134.7 kB / 387 MB, free: 9.5 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01097, allocations: 4 kB / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.01098, allocations: 3.938 kB / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.01098, allocations: 0 / 387 MB, free: 9.492 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.01109, allocations: 172.5 kB / 387.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.634e-06/0.01109, allocations: 0 / 387.1 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.341e-05/0.01113, allocations: 15.98 kB / 387.2 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.01113, allocations: 0 / 387.2 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.01114, allocations: 4 kB / 387.2 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.01114, allocations: 0 / 387.2 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.01114, allocations: 0 / 387.2 MB, free: 9.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001565/0.0113, allocations: 196 kB / 387.3 MB, free: 9.051 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.031e-05/0.01132, allocations: 15.89 kB / 387.4 MB, free: 9.035 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.354e-05/0.01134, allocations: 8 kB / 387.4 MB, free: 9.027 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.696e-05/0.01138, allocations: 4 kB / 387.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.273e-05/0.01142, allocations: 11.92 kB / 387.4 MB, free: 9.012 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.698e-05/0.01144, allocations: 15.98 kB / 387.4 MB, free: 8.996 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001048/0.01154, allocations: 197.8 kB / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01154, allocations: 0 / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002128/0.01176, allocations: 59.86 kB / 387.7 MB, free: 8.746 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.001083/0.01284, allocations: 494.3 kB / 388.1 MB, free: 8.402 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.01299, allocations: 75.52 kB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01299, allocations: 0 / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.746e-05/0.01304, allocations: 40.05 kB / 388.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/0.01328, allocations: 68.22 kB / 388.3 MB, free: 8.219 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.01369, allocations: 282.2 kB / 388.6 MB, free: 7.906 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.01372, allocations: 75.98 kB / 388.7 MB, free: 7.812 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.479e-05/0.01379, allocations: 29.59 kB / 388.7 MB, free: 7.785 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.066e-05/0.01384, allocations: 36.47 kB / 388.7 MB, free: 7.75 MB / 362.7 MB Notification: Performance of SimCode: time 8.21e-07/0.01384, allocations: 0 / 388.7 MB, free: 7.75 MB / 362.7 MB Notification: Performance of Templates: time 0.005414/0.01925, allocations: 3.75 MB / 392.5 MB, free: 4.055 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.319898581597954]