Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.001796/0.001796, allocations: 88.28 kB / 20.96 MB, free: 3.449 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.002492/0.002492, allocations: 156.9 kB / 24.26 MB, free: 148 kB / 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.582/1.582, allocations: 177 MB / 204.5 MB, free: 5.594 MB / 186.7 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.3488/0.3488, allocations: 34.25 MB / 295.2 MB, free: 0.6328 MB / 266.7 MB " [Timeout remaining time 179] 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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 377.3 MB, free: 2.809 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.129e-05/3.309e-05, allocations: 6.25 kB / 377.3 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.00371/0.003743, allocations: 1.723 MB / 379 MB, free: 1.062 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00211/0.005853, allocations: 0.9814 MB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.813e-05/0.005951, allocations: 0 / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00036/0.006311, allocations: 55.62 kB / 380.1 MB, free: 20 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004528/0.006764, allocations: 91.55 kB / 380.1 MB, free: 15.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.007052, allocations: 75.66 kB / 380.2 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.007314, allocations: 115.6 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.00743, allocations: 7.984 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.007585, allocations: 43.91 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001234/0.007708, allocations: 35.83 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.365e-05/0.007732, allocations: 4 kB / 380.4 MB, free: 15.65 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001468/0.007879, allocations: 43.94 kB / 380.5 MB, free: 15.61 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.206e-05/0.007961, allocations: 23.92 kB / 380.5 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.612e-05/0.008027, allocations: 23.91 kB / 380.5 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.008376, allocations: 119.6 kB / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.00838, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.008381, allocations: 0 / 380.6 MB, free: 15.45 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.972e-06/0.008387, allocations: 3.938 kB / 380.6 MB, free: 15.44 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.0007731/0.00916, allocations: 333.6 kB / 381 MB, free: 15.09 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.009211, allocations: 12.03 kB / 381 MB, free: 15.07 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.876e-05/0.0093, allocations: 16.84 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000369/0.009669, allocations: 162.2 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.00969, allocations: 4.359 kB / 381.1 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.801e-05/0.009728, allocations: 8.375 kB / 381.2 MB, free: 14.86 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.009906, allocations: 50.23 kB / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.00992, allocations: 192 / 381.2 MB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.842e-05/0.009939, allocations: 4.375 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.009948, allocations: 3.938 kB / 381.2 MB, free: 14.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.794e-05/0.01004, allocations: 19.98 kB / 381.2 MB, free: 14.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.01052, allocations: 236.5 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002066/0.01073, allocations: 58.61 kB / 381.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.609e-05/0.0108, allocations: 20.86 kB / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.01082, allocations: 0 / 381.5 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001864/0.011, allocations: 75.31 kB / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.01101, allocations: 0 / 381.6 MB, free: 14.34 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007013/0.01171, allocations: 181.4 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.01176, allocations: 51.41 kB / 381.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000262/0.01202, allocations: 202.7 kB / 382 MB, free: 13.89 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.01205, allocations: 29.7 kB / 382.1 MB, free: 13.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.095e-05/0.01214, allocations: 108.1 kB / 382.2 MB, free: 13.74 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.446e-05/0.01219, allocations: 35.72 kB / 382.2 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.73e-05/0.01224, allocations: 17.72 kB / 382.2 MB, free: 13.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.01245, allocations: 330.8 kB / 382.5 MB, free: 13.35 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.91e-05/0.01252, allocations: 19.98 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.0126, allocations: 41.7 kB / 382.6 MB, free: 13.29 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001419/0.01274, allocations: 61.69 kB / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.01274, allocations: 0 / 382.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002338/0.01298, allocations: 105.5 kB / 382.8 MB, free: 13.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.01299, allocations: 8.031 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.036e-06/0.013, allocations: 4 kB / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.01302, allocations: 384 / 382.8 MB, free: 13.1 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01313, allocations: 19.92 kB / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.01313, allocations: 160 / 382.8 MB, free: 13.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.644e-05/0.01319, allocations: 12 kB / 382.8 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.038e-05/0.0132, allocations: 4 kB / 382.8 MB, free: 13.06 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 0.0001464/0.01335, allocations: 124.1 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.384e-05/0.01339, allocations: 23.84 kB / 383 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002985/0.01369, allocations: 127 kB / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.01369, allocations: 0 / 383.1 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.0137, allocations: 4 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.01371, allocations: 3.984 kB / 383.1 MB, free: 12.78 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005584/0.01427, allocations: 346.9 kB / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.01427, allocations: 0 / 383.4 MB, free: 12.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.263e-05/0.01432, allocations: 19.97 kB / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.01432, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.01433, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.254e-06/0.01434, allocations: 0 / 383.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.01434, allocations: 8.031 kB / 383.5 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.01467, allocations: 216.2 kB / 383.7 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.012e-05/0.0147, allocations: 15.89 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.01472, allocations: 0 / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.0148, allocations: 8 kB / 383.7 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.01485, allocations: 7.984 kB / 383.7 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.795e-05/0.01487, allocations: 7.938 kB / 383.7 MB, free: 12.1 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001698/0.01504, allocations: 147.2 kB / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01504, allocations: 0 / 383.9 MB, free: 11.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002937/0.01533, allocations: 27.94 kB / 383.9 MB, free: 11.93 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.002301/0.01763, allocations: 487 kB / 384.4 MB, free: 11.62 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002133/0.01785, allocations: 59.86 kB / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.01785, allocations: 0 / 384.4 MB, free: 11.56 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.634e-05/0.01793, allocations: 32.05 kB / 384.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003915/0.01833, allocations: 30.16 kB / 384.5 MB, free: 11.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005767/0.0189, allocations: 237.5 kB / 384.7 MB, free: 11.24 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/0.01901, allocations: 92.3 kB / 384.8 MB, free: 11.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.509e-05/0.01908, allocations: 21.33 kB / 384.8 MB, free: 11.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.76e-05/0.01914, allocations: 20.5 kB / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01914, allocations: 0 / 384.8 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Templates: time 0.007215/0.02635, allocations: 1.873 MB / 386.7 MB, free: 9.234 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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: 4.948363522067666]