Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.001474/0.001474, allocations: 79.69 kB / 21.7 MB, free: 2.852 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.001583/0.001583, allocations: 165 kB / 24.99 MB, free: 8.801 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.05/1.05, allocations: 177 MB / 205.2 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.2549/0.2549, allocations: 34.86 MB / 296.6 MB, free: 0.5664 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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 3.938 kB / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.743e-05, allocations: 6.25 kB / 378.8 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.002203/0.00222, allocations: 1.777 MB / 380.6 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001126/0.003346, allocations: 1.003 MB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.817e-05/0.003404, allocations: 3.938 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.003613, allocations: 43.77 kB / 381.7 MB, free: 15.5 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002312/0.003844, allocations: 103.5 kB / 381.8 MB, free: 15.39 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001589/0.004003, allocations: 79.59 kB / 381.8 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.00413, allocations: 103.6 kB / 381.9 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.282e-05/0.004193, allocations: 11.97 kB / 382 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.004262, allocations: 51.84 kB / 382 MB, free: 15.15 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.00432, allocations: 31.89 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.004332, allocations: 4 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.651e-05/0.004399, allocations: 43.92 kB / 382.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 3.958e-05/0.004438, allocations: 19.94 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 3.491e-05/0.004473, allocations: 31.84 kB / 382.1 MB, free: 15.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.004615, allocations: 99.59 kB / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004617, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.11e-07/0.004617, allocations: 0 / 382.2 MB, free: 14.93 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.975e-06/0.00462, allocations: 0 / 382.2 MB, free: 14.93 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.0003758/0.004996, allocations: 455.8 kB / 382.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.005024, allocations: 8.031 kB / 382.7 MB, free: 14.44 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.696e-05/0.005061, allocations: 12.89 kB / 382.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.005204, allocations: 152.8 kB / 382.8 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.408e-05/0.005218, allocations: 8.375 kB / 382.9 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.718e-05/0.005236, allocations: 16.3 kB / 382.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.801e-05/0.005334, allocations: 62.94 kB / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.005341, allocations: 192 / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.005348, allocations: 384 / 382.9 MB, free: 14.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.005355, allocations: 3.938 kB / 382.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.003e-05/0.005385, allocations: 8 kB / 382.9 MB, free: 14.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002435/0.005628, allocations: 287.8 kB / 383.2 MB, free: 13.83 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.887e-05/0.005717, allocations: 59.09 kB / 383.3 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.788e-05/0.005745, allocations: 19.69 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.977e-06/0.005754, allocations: 0 / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.129e-05/0.005845, allocations: 68.98 kB / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.21e-07/0.005846, allocations: 0 / 383.4 MB, free: 13.65 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003215/0.006167, allocations: 161.3 kB / 383.5 MB, free: 13.49 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.006195, allocations: 55.41 kB / 383.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.006322, allocations: 237.9 kB / 383.8 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.108e-05/0.006333, allocations: 25.7 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.343e-05/0.006386, allocations: 154.8 kB / 384 MB, free: 12.98 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/0.006409, allocations: 27.78 kB / 384 MB, free: 12.96 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.006439, allocations: 31.38 kB / 384 MB, free: 12.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.006544, allocations: 0.5039 MB / 384.5 MB, free: 12.4 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.17e-05/0.006566, allocations: 8 kB / 384.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.384e-05/0.006599, allocations: 35.36 kB / 384.6 MB, free: 12.35 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.251e-05/0.006652, allocations: 47.36 kB / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.006653, allocations: 0 / 384.6 MB, free: 12.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001018/0.006755, allocations: 97.5 kB / 384.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/0.006764, allocations: 4 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.006769, allocations: 4 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.006778, allocations: 4.031 kB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.426e-05/0.006842, allocations: 12 kB / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.006847, allocations: 3.938 kB / 384.8 MB, free: 12.17 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.006876, allocations: 11.94 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.901e-06/0.006882, allocations: 4.375 kB / 384.8 MB, free: 12.15 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 6.426e-05/0.006947, allocations: 156.6 kB / 384.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.00697, allocations: 19.89 kB / 384.9 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.007106, allocations: 107 kB / 385.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.007108, allocations: 0 / 385.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.007111, allocations: 8 kB / 385.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.007115, allocations: 3.984 kB / 385.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000268/0.007383, allocations: 400.9 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.007386, allocations: 3.984 kB / 385.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.302e-05/0.007409, allocations: 8 kB / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.007411, allocations: 0 / 385.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.007417, allocations: 4 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007419, allocations: 0 / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.00742, allocations: 0 / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001371/0.007557, allocations: 259.4 kB / 385.7 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.222e-05/0.007569, allocations: 19.94 kB / 385.7 MB, free: 11.1 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.007586, allocations: 7.984 kB / 385.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.992e-05/0.007626, allocations: 4 kB / 385.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.525e-05/0.007651, allocations: 7.984 kB / 385.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.007661, allocations: 4 kB / 385.8 MB, free: 11.07 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.742e-05/0.007749, allocations: 176.2 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.007749, allocations: 3.938 kB / 385.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004337/0.008183, allocations: 31.92 kB / 386 MB, free: 10.87 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.0008485/0.009031, allocations: 425.7 kB / 386.4 MB, free: 10.58 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001075/0.009139, allocations: 55.55 kB / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-06/0.00914, allocations: 0 / 386.4 MB, free: 10.52 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.495e-05/0.009175, allocations: 31.67 kB / 386.5 MB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002136/0.009388, allocations: 35.97 kB / 386.5 MB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002838/0.009672, allocations: 221.8 kB / 386.7 MB, free: 10.2 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.337e-05/0.009716, allocations: 75.33 kB / 386.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.574e-05/0.009751, allocations: 21.39 kB / 386.8 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.659e-05/0.009778, allocations: 16.5 kB / 386.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.21e-07/0.009779, allocations: 3.938 kB / 386.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of Templates: time 0.003101/0.01288, allocations: 1.869 MB / 388.7 MB, free: 8.219 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.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.2252615250181407]