Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.001374/0.001374, allocations: 84.8 kB / 20.68 MB, free: 1.039 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.001476/0.001476, allocations: 158.3 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.588/1.588, allocations: 177 MB / 204.1 MB, free: 9.176 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.2352/0.2352, allocations: 34.25 MB / 294.8 MB, free: 14.54 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 442.7 MB, free: 5.219 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.333e-05/2.497e-05, allocations: 4.812 kB / 442.7 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003198/0.003223, allocations: 1.665 MB / 444.4 MB, free: 3.535 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001925/0.005148, allocations: 0.9659 MB / 445.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.335e-05/0.005241, allocations: 0 / 445.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003259/0.005567, allocations: 79.69 kB / 445.5 MB, free: 2.484 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.005968, allocations: 123.4 kB / 445.6 MB, free: 2.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002262/0.006194, allocations: 79.61 kB / 445.7 MB, free: 2.285 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.006426, allocations: 107.7 kB / 445.8 MB, free: 2.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.454e-05/0.006471, allocations: 4.234 kB / 445.8 MB, free: 2.176 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001386/0.00661, allocations: 63.75 kB / 445.8 MB, free: 2.113 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001279/0.006737, allocations: 59.86 kB / 445.9 MB, free: 2.055 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.222e-05/0.00676, allocations: 4 kB / 445.9 MB, free: 2.051 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.331e-05/0.006853, allocations: 31.94 kB / 445.9 MB, free: 2.02 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 7.375e-05/0.006927, allocations: 23.92 kB / 445.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.055e-05/0.006977, allocations: 19.86 kB / 446 MB, free: 1.977 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000223/0.0072, allocations: 103.7 kB / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.007203, allocations: 0 / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.007204, allocations: 0 / 446.1 MB, free: 1.875 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.486e-06/0.007207, allocations: 4 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006049/0.007812, allocations: 349.5 kB / 446.4 MB, free: 1.5 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.259e-05/0.007845, allocations: 12.03 kB / 446.4 MB, free: 1.488 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.00789, allocations: 12.89 kB / 446.4 MB, free: 1.477 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.008177, allocations: 153.5 kB / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.008186, allocations: 384 / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.453e-05/0.008201, allocations: 384 / 446.6 MB, free: 1.301 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.008356, allocations: 50.23 kB / 446.6 MB, free: 1.246 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.008367, allocations: 8.109 kB / 446.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.687e-06/0.008375, allocations: 384 / 446.6 MB, free: 1.238 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.77e-06/0.008381, allocations: 3.938 kB / 446.6 MB, free: 1.234 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.337e-05/0.008455, allocations: 23.92 kB / 446.7 MB, free: 1.211 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002667/0.008721, allocations: 141.2 kB / 446.8 MB, free: 1.043 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.0089, allocations: 54.61 kB / 446.9 MB, free: 0.9805 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.121e-05/0.008961, allocations: 20.84 kB / 446.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.848e-06/0.008971, allocations: 0 / 446.9 MB, free: 0.957 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001461/0.009117, allocations: 63.39 kB / 446.9 MB, free: 0.8828 MB / 366.1 MB Notification: Performance of pre-optimization done (n=5): time 1.282e-06/0.009118, allocations: 3.938 kB / 446.9 MB, free: 0.8789 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003197/0.009438, allocations: 101.6 kB / 447 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.009479, allocations: 55.34 kB / 447.1 MB, free: 0.707 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.009728, allocations: 227.5 kB / 447.3 MB, free: 480 kB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.009746, allocations: 25.7 kB / 447.3 MB, free: 448 kB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.971e-05/0.009825, allocations: 108.1 kB / 447.4 MB, free: 336 kB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.009863, allocations: 15.89 kB / 447.5 MB, free: 320 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.497e-05/0.009908, allocations: 25.7 kB / 447.5 MB, free: 288 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.2085/0.2184, allocations: 322.8 kB / 447.8 MB, free: 19.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2186, allocations: 11.84 kB / 447.8 MB, free: 19.07 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.346e-05/0.2186, allocations: 32.81 kB / 447.8 MB, free: 19.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001088/0.2187, allocations: 46.53 kB / 447.9 MB, free: 19.04 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.2187, allocations: 1 kB / 447.9 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000197/0.2189, allocations: 85.08 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.219, allocations: 6.375 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.219, allocations: 0.5156 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.365e-05/0.219, allocations: 3.156 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.055e-05/0.2191, allocations: 14.61 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2191, allocations: 3.812 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.609e-05/0.2191, allocations: 9.281 kB / 448 MB, free: 19.01 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.997e-06/0.2191, allocations: 2.859 kB / 448 MB, free: 19.01 MB / 366.1 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 (7): * Single equations (assignments): 7 * 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 9.015e-05/0.2192, allocations: 130.2 kB / 448.1 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.2193, allocations: 15.91 kB / 448.2 MB, free: 18.89 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002127/0.2195, allocations: 100.3 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.2195, allocations: 3.938 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2195, allocations: 1.094 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.526e-06/0.2195, allocations: 0.6562 kB / 448.3 MB, free: 18.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001185/0.2196, allocations: 132.4 kB / 448.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.614e-06/0.2196, allocations: 3.781 kB / 448.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.689e-05/0.2196, allocations: 4.594 kB / 448.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2196, allocations: 3.812 kB / 448.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.626e-06/0.2196, allocations: 5.094 kB / 448.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2196, allocations: 1.688 kB / 448.4 MB, free: 18.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.2196, allocations: 5.625 kB / 448.4 MB, free: 18.73 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001692/0.2198, allocations: 117.4 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.048e-05/0.2198, allocations: 11.86 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.387e-05/0.2199, allocations: 4.328 kB / 448.5 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.2199, allocations: 5.031 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.207e-05/0.2199, allocations: 8.219 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.699e-05/0.22, allocations: 10.78 kB / 448.6 MB, free: 18.67 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001283/0.2201, allocations: 169.1 kB / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2201, allocations: 0 / 448.7 MB, free: 18.59 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000227/0.2203, allocations: 19.56 kB / 448.8 MB, free: 18.59 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001565/0.2219, allocations: 428.6 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000161/0.222, allocations: 45.81 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.222, allocations: 0 / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.318e-05/0.2221, allocations: 22.89 kB / 449.2 MB, free: 18.43 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002706/0.2224, allocations: 29.22 kB / 449.3 MB, free: 18.42 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.2228, allocations: 242 kB / 449.5 MB, free: 18.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.22e-05/0.2229, allocations: 89.34 kB / 449.6 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.476e-05/0.2229, allocations: 10.8 kB / 449.6 MB, free: 18.2 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.223, allocations: 19.53 kB / 449.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.223, allocations: 0 / 449.6 MB, free: 18.18 MB / 366.1 MB Notification: Performance of Templates: time 0.00521/0.2282, allocations: 1.63 MB / 451.3 MB, free: 17.98 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test65.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.022118482738733]