Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.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.001627/0.001627, 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.001201/0.001201, allocations: 156.5 kB / 24.55 MB, free: 16 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.9962/0.9962, allocations: 177 MB / 204.8 MB, free: 5.258 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.3095/0.3095, allocations: 34.86 MB / 296.3 MB, free: 500 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.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") translateModel(ModelicaTest.Tables.CombiTimeTable.Test76,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.993e-06/1.993e-06, allocations: 0 / 378.9 MB, free: 1.98 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.256e-05/2.456e-05, allocations: 3.156 kB / 378.9 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test76): time 0.002418/0.002442, allocations: 1.784 MB / 380.6 MB, free: 184 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001191/0.003633, allocations: 1.02 MB / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.979e-05/0.003713, allocations: 0 / 381.7 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.004001, allocations: 47.69 kB / 381.7 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003426/0.004344, allocations: 107.4 kB / 381.8 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002124/0.004556, allocations: 75.67 kB / 381.9 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000176/0.004732, allocations: 135.6 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.00482, allocations: 7.984 kB / 382 MB, free: 14.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.317e-05/0.004913, allocations: 71.81 kB / 382.1 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.628e-05/0.005, allocations: 43.88 kB / 382.1 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.005016, allocations: 8 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.005117, allocations: 63.86 kB / 382.2 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.205e-05/0.005169, allocations: 35.84 kB / 382.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.077e-05/0.00521, allocations: 23.92 kB / 382.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.005407, allocations: 131.5 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.005409, allocations: 4 kB / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00541, allocations: 0 / 382.4 MB, free: 14.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.005414, allocations: 0 / 382.4 MB, free: 14.41 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006982/0.006112, allocations: 467.7 kB / 382.9 MB, free: 13.92 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.515e-05/0.006147, allocations: 8.031 kB / 382.9 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.426e-05/0.006202, allocations: 20.84 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.006376, allocations: 164.8 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.006394, allocations: 384 / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.982e-05/0.006414, allocations: 8.375 kB / 383.1 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001275/0.006541, allocations: 78.86 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.00655, allocations: 4.125 kB / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-06/0.00656, allocations: 384 / 383.1 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.006567, allocations: 3.938 kB / 383.1 MB, free: 13.6 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.882e-05/0.006625, allocations: 43.88 kB / 383.2 MB, free: 13.56 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.006944, allocations: 307.7 kB / 383.5 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/0.007137, allocations: 83.06 kB / 383.6 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.007174, allocations: 23.67 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.007189, allocations: 4 kB / 383.6 MB, free: 13.1 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001031/0.007293, allocations: 80.97 kB / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 1.933e-06/0.007295, allocations: 0 / 383.7 MB, free: 13 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0005593/0.007854, allocations: 261.1 kB / 383.9 MB, free: 12.74 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.007885, allocations: 55.41 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.008018, allocations: 233.9 kB / 384.2 MB, free: 12.43 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.008031, allocations: 29.7 kB / 384.2 MB, free: 12.39 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.008082, allocations: 155.1 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.457e-05/0.008116, allocations: 47.78 kB / 384.4 MB, free: 12.19 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.42e-05/0.008161, allocations: 35.38 kB / 384.5 MB, free: 12.15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.00827, allocations: 0.5001 MB / 385 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.652e-05/0.008306, allocations: 23.92 kB / 385 MB, free: 11.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.714e-05/0.008353, allocations: 47.36 kB / 385 MB, free: 11.56 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.275e-05/0.008436, allocations: 74.3 kB / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.008437, allocations: 0 / 385.1 MB, free: 11.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001482/0.008585, allocations: 137.5 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.008597, allocations: 6.344 kB / 385.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.008603, allocations: 4 kB / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.008615, allocations: 0 / 385.3 MB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.596e-05/0.008681, allocations: 27.98 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.008686, allocations: 0 / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.92e-05/0.008716, allocations: 7.938 kB / 385.3 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.094e-06/0.008723, allocations: 7.938 kB / 385.3 MB, free: 11.29 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 (15): * Single equations (assignments): 15 * 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.515e-05/0.008798, allocations: 168.5 kB / 385.5 MB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.231e-05/0.00882, allocations: 23.89 kB / 385.5 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002037/0.009024, allocations: 157.8 kB / 385.6 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.009026, allocations: 4 kB / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.009029, allocations: 0 / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/0.009033, allocations: 0 / 385.7 MB, free: 10.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.009413, allocations: 488.4 kB / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.009415, allocations: 0 / 386.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.717e-05/0.009462, allocations: 20 kB / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.009465, allocations: 0 / 386.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.009476, allocations: 7.984 kB / 386.2 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.009478, allocations: 4.062 kB / 386.2 MB, free: 10.37 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.009481, allocations: 7.938 kB / 386.2 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001844/0.009665, allocations: 311.1 kB / 386.5 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.555e-05/0.009681, allocations: 15.91 kB / 386.5 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.0097, allocations: 4 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.391e-05/0.009743, allocations: 4 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.724e-05/0.009781, allocations: 23.91 kB / 386.5 MB, free: 9.984 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.506e-05/0.009796, allocations: 8 kB / 386.5 MB, free: 9.977 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.526e-05/0.009871, allocations: 180.2 kB / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009871, allocations: 0 / 386.7 MB, free: 9.801 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001925/0.01006, allocations: 35.94 kB / 386.7 MB, free: 9.766 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (16): * Single equations (assignments): 14 * 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.0009775/0.01104, allocations: 480.3 kB / 387.2 MB, free: 9.441 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.01121, allocations: 86.61 kB / 387.3 MB, free: 9.355 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.01121, allocations: 8.062 kB / 387.3 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.761e-05/0.01127, allocations: 51.59 kB / 387.3 MB, free: 9.293 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002321/0.0115, allocations: 38.42 kB / 387.4 MB, free: 9.258 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003771/0.01188, allocations: 278.2 kB / 387.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.306e-05/0.01192, allocations: 75.77 kB / 387.7 MB, free: 8.855 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.161e-05/0.01197, allocations: 29.59 kB / 387.8 MB, free: 8.824 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/0.01201, allocations: 24.5 kB / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of SimCode: time 6.72e-07/0.01201, allocations: 0 / 387.8 MB, free: 8.801 MB / 362.7 MB Notification: Performance of Templates: time 0.004473/0.01648, allocations: 2.555 MB / 390.3 MB, free: 6.281 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test76_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test76/Test76.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.326090422924608]