Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002196/0.002196, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002928/0.002928, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.521/1.521, allocations: 177.1 MB / 204.6 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3433/0.3433, allocations: 34.26 MB / 295.3 MB, free: 0.6523 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.095e-05/1.095e-05, allocations: 4 kB / 377.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.881e-05/4.976e-05, allocations: 2.312 kB / 377.4 MB, free: 2.848 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.005461/0.00551, allocations: 1.683 MB / 379 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003345/0.008856, allocations: 0.9547 MB / 380 MB, free: 200 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.09e-05/0.008946, allocations: 8 kB / 380 MB, free: 192 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004378/0.009384, allocations: 71.66 kB / 380.1 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005394/0.009924, allocations: 107.5 kB / 380.2 MB, free: 12 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003722/0.0103, allocations: 75.66 kB / 380.3 MB, free: 15.94 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002844/0.01058, allocations: 107.6 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.01063, allocations: 4.234 kB / 380.4 MB, free: 15.83 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001969/0.01082, allocations: 63.81 kB / 380.4 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000146/0.01097, allocations: 39.89 kB / 380.5 MB, free: 15.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.74e-05/0.011, allocations: 4 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001313/0.01113, allocations: 39.92 kB / 380.5 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.314e-05/0.01121, allocations: 23.86 kB / 380.5 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 6.553e-05/0.01128, allocations: 15.94 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003036/0.01158, allocations: 103.6 kB / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.01158, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.542e-06/0.01159, allocations: 0 / 380.7 MB, free: 15.54 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.01159, allocations: 0 / 380.7 MB, free: 15.54 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0008123/0.0124, allocations: 333.6 kB / 381 MB, free: 15.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.01245, allocations: 12.03 kB / 381 MB, free: 15.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.868e-05/0.01253, allocations: 12.89 kB / 381 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.01293, allocations: 158.2 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.01296, allocations: 4.375 kB / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.361e-05/0.01297, allocations: 384 / 381.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002227/0.01319, allocations: 58.17 kB / 381.2 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.01321, allocations: 3.938 kB / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.194e-05/0.01322, allocations: 0 / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.01322, allocations: 0 / 381.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001224/0.01335, allocations: 15.98 kB / 381.2 MB, free: 14.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002943/0.01364, allocations: 129.3 kB / 381.4 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.01393, allocations: 58.61 kB / 381.4 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.01405, allocations: 20.84 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.779e-05/0.01407, allocations: 3.938 kB / 381.4 MB, free: 14.65 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002434/0.01431, allocations: 63.39 kB / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 1.913e-06/0.01431, allocations: 0 / 381.5 MB, free: 14.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005438/0.01486, allocations: 105.5 kB / 381.6 MB, free: 14.46 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.404e-05/0.01492, allocations: 51.41 kB / 381.7 MB, free: 14.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/0.0153, allocations: 214.6 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.01533, allocations: 25.7 kB / 381.9 MB, free: 14.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01544, allocations: 100.1 kB / 382 MB, free: 14.05 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.234e-05/0.01549, allocations: 19.89 kB / 382 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.424e-05/0.01556, allocations: 17.72 kB / 382 MB, free: 14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000248/0.01581, allocations: 322.8 kB / 382.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.905e-05/0.0159, allocations: 15.98 kB / 382.4 MB, free: 13.66 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.01602, allocations: 29.72 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002115/0.01623, allocations: 45.95 kB / 382.4 MB, free: 13.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.01623, allocations: 4 kB / 382.4 MB, free: 13.57 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003524/0.01659, allocations: 89.56 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.0166, allocations: 6.188 kB / 382.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.01661, allocations: 3.938 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.01663, allocations: 0 / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/0.01676, allocations: 12 kB / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.01676, allocations: 0 / 382.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.711e-05/0.01686, allocations: 15.92 kB / 382.6 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.01687, allocations: 3.938 kB / 382.6 MB, free: 13.44 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 (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 0.000179/0.01705, allocations: 121.8 kB / 382.7 MB, free: 13.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.15e-05/0.0171, allocations: 15.91 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003859/0.01749, allocations: 110.9 kB / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01749, allocations: 0 / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.177e-06/0.01749, allocations: 0 / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.0175, allocations: 0 / 382.8 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.01773, allocations: 133.3 kB / 382.9 MB, free: 13.03 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.01774, allocations: 3.984 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.618e-05/0.01779, allocations: 8 kB / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.01779, allocations: 0 / 383 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.0178, allocations: 7.875 kB / 383 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.601e-06/0.0178, allocations: 3.938 kB / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0178, allocations: 0 / 383 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.01818, allocations: 121.2 kB / 383.1 MB, free: 12.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.192e-05/0.01821, allocations: 7.953 kB / 383.1 MB, free: 12.86 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.037e-05/0.01825, allocations: 7.984 kB / 383.1 MB, free: 12.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.798e-05/0.01833, allocations: 7.938 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.748e-05/0.01838, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.204e-05/0.0184, allocations: 4 kB / 383.1 MB, free: 12.84 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002624/0.01866, allocations: 148.2 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.01866, allocations: 4 kB / 383.3 MB, free: 12.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004514/0.01912, allocations: 19.92 kB / 383.3 MB, free: 12.67 MB / 362.7 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.002241/0.02136, allocations: 431.4 kB / 383.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001746/0.02153, allocations: 35.98 kB / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.02153, allocations: 0 / 383.7 MB, free: 12.39 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.02161, allocations: 28.05 kB / 383.8 MB, free: 12.36 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.0219, allocations: 28.11 kB / 383.8 MB, free: 12.33 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004858/0.02238, allocations: 216.6 kB / 384 MB, free: 12.09 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001055/0.02249, allocations: 97.44 kB / 384.1 MB, free: 11.98 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.776e-05/0.02254, allocations: 12.48 kB / 384.1 MB, free: 11.96 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.851e-05/0.02257, allocations: 12.5 kB / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.02257, allocations: 0 / 384.1 MB, free: 11.95 MB / 362.7 MB Notification: Performance of Templates: time 0.005019/0.02759, allocations: 1.638 MB / 385.8 MB, free: 10.34 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.97025485499762]