Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001226/0.001226, allocations: 82.59 kB / 21.43 MB, free: 3.07 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.001316/0.001316, allocations: 170.8 kB / 24.82 MB, free: 9.262 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.003/1.003, allocations: 177 MB / 205.1 MB, free: 5.477 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.2622/0.2622, allocations: 34.86 MB / 296.6 MB, free: 0.5039 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.195e-05/2.36e-05, allocations: 10.25 kB / 379.3 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002536/0.002559, allocations: 1.783 MB / 381.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001342/0.003901, allocations: 1.008 MB / 382.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.826e-05/0.004, allocations: 4 kB / 382.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003343/0.004334, allocations: 95.61 kB / 382.2 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003478/0.004682, allocations: 139.4 kB / 382.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00024/0.004922, allocations: 83.55 kB / 382.4 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.005119, allocations: 127.7 kB / 382.6 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.005232, allocations: 11.98 kB / 382.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001163/0.005348, allocations: 71.75 kB / 382.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001111/0.005459, allocations: 63.84 kB / 382.7 MB, free: 14.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.766e-05/0.005477, allocations: 8 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.00559, allocations: 51.92 kB / 382.8 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.918e-05/0.005649, allocations: 35.84 kB / 382.8 MB, free: 14.24 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.005689, allocations: 19.92 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.005887, allocations: 127.5 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.572e-06/0.005894, allocations: 7.984 kB / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.123e-06/0.005895, allocations: 0 / 382.9 MB, free: 14.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.005901, allocations: 0 / 382.9 MB, free: 14.09 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.0004659/0.006366, allocations: 475.5 kB / 383.4 MB, free: 13.59 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.006408, allocations: 8.031 kB / 383.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.309e-05/0.006451, allocations: 24.78 kB / 383.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.00662, allocations: 156.4 kB / 383.6 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.799e-05/0.006638, allocations: 8.359 kB / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.743e-05/0.006655, allocations: 384 / 383.6 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001279/0.006783, allocations: 66.94 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.006793, allocations: 192 / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.797e-06/0.006802, allocations: 4.375 kB / 383.7 MB, free: 13.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.006809, allocations: 7.875 kB / 383.7 MB, free: 13.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.874e-05/0.006837, allocations: 11.98 kB / 383.7 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003174/0.007155, allocations: 276.3 kB / 384 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.007307, allocations: 55.03 kB / 384 MB, free: 12.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.007334, allocations: 19.61 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.007349, allocations: 4 kB / 384 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.663e-05/0.007446, allocations: 77.09 kB / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.007447, allocations: 0 / 384.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004817/0.007928, allocations: 185.4 kB / 384.3 MB, free: 12.6 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.007961, allocations: 55.41 kB / 384.3 MB, free: 12.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.008115, allocations: 258.2 kB / 384.6 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.008134, allocations: 29.7 kB / 384.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.524e-05/0.00821, allocations: 166.8 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.00825, allocations: 39.67 kB / 384.8 MB, free: 12.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.008295, allocations: 39.28 kB / 384.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.008443, allocations: 0.504 MB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.089e-05/0.008474, allocations: 23.92 kB / 385.4 MB, free: 11.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.305e-05/0.008517, allocations: 38.73 kB / 385.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.153e-05/0.008578, allocations: 55.36 kB / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.00858, allocations: 0 / 385.5 MB, free: 11.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001397/0.008719, allocations: 109.5 kB / 385.6 MB, free: 11.22 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.008736, allocations: 4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.008742, allocations: 4 kB / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.008756, allocations: 0 / 385.6 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.451e-05/0.008821, allocations: 24.02 kB / 385.6 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.588e-06/0.008825, allocations: 8.578 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.077e-05/0.008856, allocations: 4 kB / 385.6 MB, free: 11.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.008863, allocations: 8 kB / 385.6 MB, free: 11.17 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 (13): * Single equations (assignments): 13 * 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.902e-05/0.008952, allocations: 163.2 kB / 385.8 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.008976, allocations: 23.83 kB / 385.8 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001623/0.009138, allocations: 115.1 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.009142, allocations: 4 kB / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.302e-06/0.009143, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.009146, allocations: 0 / 385.9 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000355/0.009502, allocations: 417.1 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.009504, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.891e-05/0.009543, allocations: 19.92 kB / 386.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.009549, allocations: 4 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.625e-06/0.009556, allocations: 4 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.00956, allocations: 4 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.009562, allocations: 0 / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.009731, allocations: 287.3 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.708e-05/0.009749, allocations: 23.83 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.009766, allocations: 4.062 kB / 386.7 MB, free: 10.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.797e-05/0.009813, allocations: 8 kB / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/0.009843, allocations: 7.984 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.00986, allocations: 7.984 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.706e-05/0.009957, allocations: 180.1 kB / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.009957, allocations: 0 / 386.9 MB, free: 9.84 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002988/0.01026, allocations: 39.86 kB / 386.9 MB, free: 9.801 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 (12): * Single equations (assignments): 10 * 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.001026/0.01128, allocations: 466.2 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001415/0.01142, allocations: 63.58 kB / 387.4 MB, free: 9.422 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.01143, allocations: 4 kB / 387.5 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.01147, allocations: 39.59 kB / 387.5 MB, free: 9.375 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002615/0.01173, allocations: 27.94 kB / 387.5 MB, free: 9.348 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.01212, allocations: 290.2 kB / 387.8 MB, free: 9.027 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.795e-05/0.01217, allocations: 75.33 kB / 387.9 MB, free: 8.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.256e-05/0.01221, allocations: 12.64 kB / 387.9 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.686e-05/0.01229, allocations: 98.19 kB / 388 MB, free: 8.824 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.01229, allocations: 0 / 388 MB, free: 8.824 MB / 362.7 MB Notification: Performance of Templates: time 0.004317/0.01661, allocations: 2.331 MB / 390.3 MB, free: 6.527 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.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.0787707632407546]