Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.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.001693/0.001693, allocations: 86.56 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001989/0.001989, allocations: 159 kB / 23.95 MB, free: 4.168 MB / 14.72 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.494/1.494, allocations: 177 MB / 204.1 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.2245/0.2245, allocations: 34.26 MB / 294.8 MB, free: 14.53 MB / 286.1 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.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") translateModel(ModelicaTest.Tables.CombiTimeTable.Test71,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 442.7 MB, free: 5.234 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.039e-05/3.204e-05, allocations: 2.281 kB / 442.7 MB, free: 5.23 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test71): time 0.003455/0.003487, allocations: 1.801 MB / 444.5 MB, free: 3.414 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002248/0.005735, allocations: 1.043 MB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001246/0.00586, allocations: 4 kB / 445.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006804/0.00654, allocations: 315 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006229/0.007163, allocations: 263 kB / 446.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.007449, allocations: 103.6 kB / 446.2 MB, free: 1.695 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003979/0.007847, allocations: 271.2 kB / 446.5 MB, free: 1.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.446e-05/0.007911, allocations: 13.75 kB / 446.5 MB, free: 1.418 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002478/0.008159, allocations: 159.5 kB / 446.7 MB, free: 1.262 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003121/0.008471, allocations: 203.6 kB / 446.9 MB, free: 1.062 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 3.446e-05/0.008506, allocations: 8 kB / 446.9 MB, free: 1.055 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.008643, allocations: 47.97 kB / 446.9 MB, free: 1.008 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001899/0.008833, allocations: 135.6 kB / 447.1 MB, free: 0.875 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001379/0.008971, allocations: 75.64 kB / 447.1 MB, free: 0.8008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005101/0.009481, allocations: 358.7 kB / 447.5 MB, free: 460 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.009486, allocations: 0 / 447.5 MB, free: 460 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.292e-06/0.009487, allocations: 3.938 kB / 447.5 MB, free: 456 kB / 366.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.009495, allocations: 4 kB / 447.5 MB, free: 452 kB / 366.1 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.2056/0.2151, allocations: 0.6704 MB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.2152, allocations: 9.125 kB / 448.2 MB, free: 19.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.305e-05/0.2153, allocations: 55.7 kB / 448.2 MB, free: 19.27 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005667/0.2158, allocations: 392.2 kB / 448.6 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.2158, allocations: 2.938 kB / 448.6 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.461e-05/0.2159, allocations: 3.594 kB / 448.6 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002121/0.2161, allocations: 88.11 kB / 448.7 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2161, allocations: 192 / 448.7 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.2161, allocations: 3.484 kB / 448.7 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.2161, allocations: 1.656 kB / 448.7 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001194/0.2162, allocations: 41.81 kB / 448.7 MB, free: 19.03 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003369/0.2166, allocations: 306.2 kB / 449 MB, free: 18.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.2168, allocations: 109.4 kB / 449.2 MB, free: 18.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.341e-05/0.2169, allocations: 40.73 kB / 449.2 MB, free: 18.82 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.217, allocations: 5.812 kB / 449.2 MB, free: 18.81 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.2172, allocations: 108.2 kB / 449.3 MB, free: 18.73 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 1.342e-06/0.2172, allocations: 0 / 449.3 MB, free: 18.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004936/0.2177, allocations: 211.3 kB / 449.5 MB, free: 18.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.577e-05/0.2177, allocations: 84.22 kB / 449.6 MB, free: 18.54 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.2188, allocations: 1.064 MB / 450.7 MB, free: 18.18 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.2188, allocations: 31.36 kB / 450.7 MB, free: 18.15 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.219, allocations: 237.5 kB / 450.9 MB, free: 17.96 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.813e-05/0.219, allocations: 34.16 kB / 451 MB, free: 17.94 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.611e-05/0.219, allocations: 29.3 kB / 451 MB, free: 17.91 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.2191, allocations: 374.3 kB / 451.3 MB, free: 17.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.2192, allocations: 32.98 kB / 451.4 MB, free: 17.57 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.677e-05/0.2193, allocations: 58.41 kB / 451.4 MB, free: 17.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001748/0.2195, allocations: 97.41 kB / 451.5 MB, free: 17.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.2195, allocations: 1.812 kB / 451.5 MB, free: 17.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002903/0.2198, allocations: 171.7 kB / 451.7 MB, free: 17.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.2198, allocations: 12.92 kB / 451.7 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.2198, allocations: 0 / 451.7 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.2198, allocations: 2.75 kB / 451.7 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001188/0.2199, allocations: 23.58 kB / 451.7 MB, free: 17.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.2199, allocations: 6.688 kB / 451.7 MB, free: 17.37 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.2201, allocations: 17.5 kB / 451.8 MB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.2201, allocations: 12.89 kB / 451.8 MB, free: 17.36 MB / 366.1 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.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 0.0001752/0.2202, allocations: 224 kB / 452 MB, free: 17.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.2203, allocations: 52.27 kB / 452 MB, free: 17.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004088/0.2207, allocations: 208.7 kB / 452.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2207, allocations: 2.078 kB / 452.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2207, allocations: 1.375 kB / 452.2 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2207, allocations: 4.688 kB / 452.3 MB, free: 17.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002859/0.221, allocations: 264.4 kB / 452.5 MB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.221, allocations: 5.859 kB / 452.5 MB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.854e-05/0.2211, allocations: 9.609 kB / 452.5 MB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.816e-06/0.2211, allocations: 1.375 kB / 452.5 MB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.434e-05/0.2211, allocations: 6.781 kB / 452.5 MB, free: 16.94 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.2211, allocations: 5.438 kB / 452.5 MB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.2211, allocations: 5.312 kB / 452.5 MB, free: 16.93 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003334/0.2214, allocations: 221.2 kB / 452.8 MB, free: 16.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001041/0.2215, allocations: 62 kB / 452.8 MB, free: 16.77 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.466e-05/0.2216, allocations: 7.625 kB / 452.8 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.2217, allocations: 4.922 kB / 452.8 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.823e-05/0.2217, allocations: 8.328 kB / 452.8 MB, free: 16.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.113e-05/0.2217, allocations: 10.83 kB / 452.9 MB, free: 16.76 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008133/0.2225, allocations: 0.793 MB / 453.6 MB, free: 16.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2225, allocations: 1.219 kB / 453.6 MB, free: 16.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.2228, allocations: 53.05 kB / 453.7 MB, free: 16.47 MB / 366.1 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,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.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.00161/0.2244, allocations: 439.4 kB / 454.1 MB, free: 16.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002845/0.2247, allocations: 84.78 kB / 454.2 MB, free: 16.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.2247, allocations: 0 / 454.2 MB, free: 16.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.2248, allocations: 47.81 kB / 454.3 MB, free: 16.25 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004277/0.2253, allocations: 67.84 kB / 454.3 MB, free: 16.22 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.2264, allocations: 0.8966 MB / 455.2 MB, free: 15.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002464/0.2267, allocations: 246.2 kB / 455.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001135/0.2268, allocations: 56.38 kB / 455.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.8e-05/0.2269, allocations: 33.61 kB / 455.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of SimCode: time 3.3e-07/0.2269, allocations: 0 / 455.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of Templates: time 0.01006/0.2369, allocations: 4.029 MB / 459.6 MB, free: 15.17 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test71/Test71.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test71.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.009474195539951]