Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.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.0009244/0.0009244, allocations: 86.59 kB / 21.43 MB, free: 3.074 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.0009592/0.0009592, allocations: 170 kB / 24.82 MB, free: 9.305 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 0.9662/0.9662, 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.2578/0.2578, allocations: 34.86 MB / 296.6 MB, free: 0.4922 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 379.3 MB, free: 1.742 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.469e-05, allocations: 2.312 kB / 379.3 MB, free: 1.738 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.004113/0.004148, allocations: 1.767 MB / 381.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001896/0.006043, allocations: 1.008 MB / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.006149, allocations: 0 / 382.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003716/0.006521, allocations: 83.64 kB / 382.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003097/0.00683, allocations: 115.5 kB / 382.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001624/0.006993, allocations: 83.53 kB / 382.4 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.007171, allocations: 119.6 kB / 382.5 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.007271, allocations: 11.98 kB / 382.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.007375, allocations: 67.77 kB / 382.6 MB, free: 14.47 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001104/0.007485, allocations: 55.86 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.007504, allocations: 4 kB / 382.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.845e-05/0.007592, allocations: 47.91 kB / 382.7 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.752e-05/0.00765, allocations: 27.92 kB / 382.7 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.361e-05/0.007694, allocations: 19.88 kB / 382.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.007893, allocations: 99.66 kB / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.0079, allocations: 0 / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.007902, allocations: 0 / 382.8 MB, free: 14.22 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.007908, allocations: 4 kB / 382.8 MB, free: 14.21 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.0005705/0.008479, allocations: 463.7 kB / 383.3 MB, free: 13.73 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.008524, allocations: 12.03 kB / 383.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.00857, allocations: 16.83 kB / 383.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001836/0.008753, allocations: 152.4 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.008769, allocations: 384 / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.008789, allocations: 8.328 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.008899, allocations: 58.94 kB / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.008908, allocations: 192 / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.008917, allocations: 384 / 383.5 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.036e-05/0.008927, allocations: 7.938 kB / 383.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.316e-05/0.00896, allocations: 15.92 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002727/0.009233, allocations: 264.4 kB / 383.8 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.317e-05/0.009326, allocations: 47.17 kB / 383.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.00935, allocations: 15.67 kB / 383.8 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.009369, allocations: 4 kB / 383.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.00949, allocations: 68.97 kB / 383.9 MB, free: 12.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.603e-06/0.009491, allocations: 4 kB / 383.9 MB, free: 12.97 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003687/0.00986, allocations: 145.6 kB / 384.1 MB, free: 12.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.0099, allocations: 51.41 kB / 384.1 MB, free: 12.76 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000133/0.01003, allocations: 234.7 kB / 384.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.626e-05/0.01005, allocations: 33.7 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.444e-05/0.01011, allocations: 162.8 kB / 384.5 MB, free: 12.31 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.01014, allocations: 23.78 kB / 384.6 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.01018, allocations: 31.36 kB / 384.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001299/0.01031, allocations: 0.4962 MB / 385.1 MB, free: 11.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.15e-05/0.01033, allocations: 11.98 kB / 385.1 MB, free: 11.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.152e-05/0.01036, allocations: 35.34 kB / 385.1 MB, free: 11.68 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.909e-05/0.01041, allocations: 47.3 kB / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01041, allocations: 0 / 385.2 MB, free: 11.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001028/0.01051, allocations: 89.53 kB / 385.3 MB, free: 11.54 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.01053, allocations: 11.92 kB / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.01053, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.268e-05/0.01054, allocations: 0 / 385.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.0106, allocations: 19.94 kB / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.936e-06/0.01061, allocations: 0 / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.641e-05/0.01063, allocations: 0 / 385.3 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-06/0.01064, allocations: 7.984 kB / 385.3 MB, free: 11.5 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 7.757e-05/0.01072, allocations: 165.5 kB / 385.5 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.01073, allocations: 15.89 kB / 385.5 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.01088, allocations: 107 kB / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.01088, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.01088, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.01088, allocations: 0 / 385.6 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.01115, allocations: 361.6 kB / 385.9 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.01115, allocations: 4 kB / 385.9 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.943e-05/0.01118, allocations: 11.98 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01118, allocations: 7.969 kB / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.01119, allocations: 0 / 386 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.01119, allocations: 4 kB / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01119, allocations: 0 / 386 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001546/0.01134, allocations: 251.4 kB / 386.2 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.139e-05/0.01136, allocations: 11.95 kB / 386.2 MB, free: 10.5 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.01137, allocations: 7.984 kB / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.322e-05/0.01142, allocations: 0 / 386.2 MB, free: 10.49 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.01145, allocations: 11.97 kB / 386.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.01147, allocations: 8 kB / 386.3 MB, free: 10.47 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.092e-05/0.01156, allocations: 169 kB / 386.4 MB, free: 10.31 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01156, allocations: 4 kB / 386.4 MB, free: 10.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001773/0.01173, allocations: 27.92 kB / 386.4 MB, free: 10.28 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.001077/0.01281, allocations: 426.7 kB / 386.9 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.792e-05/0.01291, allocations: 55.53 kB / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.01291, allocations: 0 / 386.9 MB, free: 9.926 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.533e-05/0.01295, allocations: 35.55 kB / 387 MB, free: 9.887 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.01317, allocations: 35.23 kB / 387 MB, free: 9.855 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003144/0.01348, allocations: 240.6 kB / 387.2 MB, free: 9.59 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.331e-05/0.01352, allocations: 71.33 kB / 387.3 MB, free: 9.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.56e-05/0.01356, allocations: 17.27 kB / 387.3 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/0.01363, allocations: 90.19 kB / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01363, allocations: 0 / 387.4 MB, free: 9.391 MB / 362.7 MB Notification: Performance of Templates: time 0.003686/0.01731, allocations: 2.042 MB / 389.4 MB, free: 7.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.036357657983899]