Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.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.001422/0.001422, allocations: 75.7 kB / 21.69 MB, free: 2.844 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.001727/0.001727, allocations: 166.6 kB / 24.99 MB, free: 9.328 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.9627/0.9627, allocations: 177 MB / 205.2 MB, free: 5.133 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.2774/0.2774, allocations: 34.86 MB / 296.6 MB, free: 0.5195 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 378.8 MB, free: 2.352 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.558e-05/2.72e-05, allocations: 2.312 kB / 378.8 MB, free: 2.348 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002462/0.00249, allocations: 1.766 MB / 380.6 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001571/0.004061, allocations: 1.009 MB / 381.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.225e-05/0.004153, allocations: 7.938 kB / 381.6 MB, free: 15.54 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003386/0.004492, allocations: 87.62 kB / 381.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003593/0.004851, allocations: 119.4 kB / 381.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.005089, allocations: 87.59 kB / 381.9 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002036/0.005292, allocations: 123.6 kB / 382 MB, free: 15.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.349e-05/0.005386, allocations: 7.984 kB / 382 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000112/0.005498, allocations: 71.81 kB / 382.1 MB, free: 15.05 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.005602, allocations: 59.8 kB / 382.2 MB, free: 15 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.59e-05/0.005618, allocations: 4 kB / 382.2 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.005737, allocations: 55.92 kB / 382.2 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.736e-05/0.005794, allocations: 27.86 kB / 382.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.73e-05/0.005842, allocations: 19.92 kB / 382.3 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002132/0.006055, allocations: 115.6 kB / 382.4 MB, free: 14.78 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.006058, allocations: 8 kB / 382.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.00606, allocations: 0 / 382.4 MB, free: 14.77 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.278e-06/0.006064, allocations: 0 / 382.4 MB, free: 14.77 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.0004999/0.006564, allocations: 467.6 kB / 382.9 MB, free: 14.28 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.0066, allocations: 12.02 kB / 382.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.006656, allocations: 16.84 kB / 382.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001959/0.006852, allocations: 156.4 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.006873, allocations: 4.375 kB / 383 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.305e-05/0.006896, allocations: 12.36 kB / 383 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00014/0.007036, allocations: 62.94 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.007047, allocations: 8.188 kB / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.007057, allocations: 384 / 383.1 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.003e-05/0.007067, allocations: 3.938 kB / 383.1 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.007115, allocations: 23.91 kB / 383.1 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003598/0.007475, allocations: 299.7 kB / 383.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001955/0.007671, allocations: 54.98 kB / 383.5 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.998e-05/0.007711, allocations: 23.8 kB / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.447e-05/0.007725, allocations: 0 / 383.5 MB, free: 13.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001203/0.007845, allocations: 76.92 kB / 383.6 MB, free: 13.44 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.007847, allocations: 4 kB / 383.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006346/0.008481, allocations: 213.2 kB / 383.8 MB, free: 13.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.745e-05/0.008519, allocations: 55.39 kB / 383.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001891/0.008708, allocations: 246.7 kB / 384.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.684e-05/0.008725, allocations: 25.7 kB / 384.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.0088, allocations: 158.9 kB / 384.3 MB, free: 12.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.008837, allocations: 35.77 kB / 384.3 MB, free: 12.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.022e-05/0.008887, allocations: 35.36 kB / 384.3 MB, free: 12.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.009028, allocations: 0.5001 MB / 384.8 MB, free: 12.11 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.613e-05/0.009074, allocations: 27.98 kB / 384.9 MB, free: 12.08 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.009132, allocations: 46.42 kB / 384.9 MB, free: 12.03 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.954e-05/0.009232, allocations: 67.34 kB / 385 MB, free: 11.96 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.009234, allocations: 3.938 kB / 385 MB, free: 11.95 MB / 362.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000181/0.009414, allocations: 109.5 kB / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.009429, allocations: 4 kB / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.009434, allocations: 0 / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.009448, allocations: 0 / 385.1 MB, free: 11.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.009525, allocations: 23.98 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/0.009531, allocations: 4.031 kB / 385.1 MB, free: 11.81 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.174e-05/0.009572, allocations: 4 kB / 385.1 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-06/0.00958, allocations: 4 kB / 385.1 MB, free: 11.8 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 0.0001001/0.00968, allocations: 172.4 kB / 385.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.009708, allocations: 15.91 kB / 385.3 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002272/0.009935, allocations: 131.7 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.009937, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.009941, allocations: 0 / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.009946, allocations: 3.984 kB / 385.5 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.01038, allocations: 456.5 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.01038, allocations: 3.984 kB / 385.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.745e-05/0.01043, allocations: 16 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.097e-06/0.01043, allocations: 7.938 kB / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.398e-06/0.01044, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01044, allocations: 0 / 385.9 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01045, allocations: 4 kB / 385.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.01068, allocations: 287.1 kB / 386.2 MB, free: 10.63 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.0107, allocations: 11.91 kB / 386.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.657e-05/0.01072, allocations: 8 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.882e-05/0.01079, allocations: 4.062 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.01084, allocations: 19.86 kB / 386.3 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.01086, allocations: 11.98 kB / 386.3 MB, free: 10.58 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001086/0.01096, allocations: 173.1 kB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01096, allocations: 0 / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002878/0.01125, allocations: 39.92 kB / 386.5 MB, free: 10.37 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.001257/0.01251, allocations: 469.4 kB / 386.9 MB, free: 10.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001756/0.01268, allocations: 67.59 kB / 387 MB, free: 9.988 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.035e-06/0.01269, allocations: 4 kB / 387 MB, free: 9.984 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/0.01275, allocations: 39.61 kB / 387 MB, free: 9.941 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.01309, allocations: 43.25 kB / 387.1 MB, free: 9.902 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004663/0.01356, allocations: 272.6 kB / 387.3 MB, free: 9.602 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.669e-05/0.01361, allocations: 75.33 kB / 387.4 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.398e-05/0.01367, allocations: 20.62 kB / 387.4 MB, free: 9.488 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.069e-05/0.01371, allocations: 16.5 kB / 387.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of SimCode: time 1.123e-06/0.01371, allocations: 0 / 387.5 MB, free: 9.473 MB / 362.7 MB Notification: Performance of Templates: time 0.004834/0.01854, allocations: 2.124 MB / 389.6 MB, free: 7.379 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.2187356799840927]