Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.001959/0.001959, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002631/0.002631, allocations: 165.3 kB / 24.28 MB, free: 152 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.621/1.621, 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.3671/0.3671, allocations: 34.26 MB / 295.3 MB, free: 0.6641 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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") translateModel(ModelicaTest.Tables.CombiTimeTable.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5019,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 377.4 MB, free: 2.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.609e-05/2.764e-05, allocations: 2.312 kB / 377.4 MB, free: 2.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003815/0.003843, allocations: 1.735 MB / 379.1 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.005759, allocations: 0.9976 MB / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.787e-05/0.005827, allocations: 0 / 380.1 MB, free: 128 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002926/0.00612, allocations: 47.69 kB / 380.2 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003813/0.006501, allocations: 111.6 kB / 380.3 MB, free: 15.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002621/0.006763, allocations: 83.59 kB / 380.3 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000217/0.00698, allocations: 107.5 kB / 380.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.007076, allocations: 11.98 kB / 380.5 MB, free: 15.77 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.007214, allocations: 51.89 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.916e-05/0.007303, allocations: 23.86 kB / 380.5 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.007331, allocations: 4 kB / 380.5 MB, free: 15.69 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.007452, allocations: 47.91 kB / 380.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.089e-05/0.007523, allocations: 27.91 kB / 380.6 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.007583, allocations: 27.88 kB / 380.6 MB, free: 15.59 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.007854, allocations: 135.5 kB / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.007858, allocations: 0 / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.423e-06/0.007859, allocations: 0 / 380.8 MB, free: 15.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.007864, allocations: 0 / 380.8 MB, free: 15.46 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.0007137/0.008578, allocations: 487.2 kB / 381.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.00862, allocations: 12.03 kB / 381.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.415e-05/0.008684, allocations: 16.84 kB / 381.3 MB, free: 14.92 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.008951, allocations: 161.3 kB / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.008964, allocations: 384 / 381.4 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.008989, allocations: 12.31 kB / 381.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.00914, allocations: 54.23 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.009157, allocations: 3.938 kB / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.009168, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.009173, allocations: 0 / 381.5 MB, free: 14.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.885e-05/0.009252, allocations: 19.98 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.009725, allocations: 311.8 kB / 381.8 MB, free: 14.3 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/0.009916, allocations: 67.09 kB / 381.9 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.97e-05/0.009975, allocations: 23.61 kB / 381.9 MB, free: 14.19 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.987e-05/0.009995, allocations: 7.984 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001594/0.01015, allocations: 73.05 kB / 382 MB, free: 14.1 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.01016, allocations: 4 kB / 382 MB, free: 14.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005931/0.01075, allocations: 185.3 kB / 382.2 MB, free: 13.91 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.638e-05/0.0108, allocations: 51.41 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.01111, allocations: 297.6 kB / 382.5 MB, free: 13.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.553e-05/0.01114, allocations: 29.7 kB / 382.5 MB, free: 13.5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001305/0.01127, allocations: 170.9 kB / 382.7 MB, free: 13.33 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.714e-05/0.01131, allocations: 23.8 kB / 382.7 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.604e-05/0.01137, allocations: 31.36 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002797/0.01165, allocations: 0.5118 MB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.127e-05/0.01171, allocations: 23.98 kB / 383.3 MB, free: 12.72 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.01179, allocations: 51.67 kB / 383.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001291/0.01192, allocations: 71.36 kB / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01192, allocations: 0 / 383.4 MB, free: 12.58 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000212/0.01214, allocations: 113.5 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.01215, allocations: 4 kB / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.01216, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.01217, allocations: 0 / 383.5 MB, free: 12.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.145e-05/0.01226, allocations: 16 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.01227, allocations: 7.922 kB / 383.6 MB, free: 12.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.157e-05/0.01232, allocations: 4.031 kB / 383.6 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.01233, allocations: 4 kB / 383.6 MB, free: 12.43 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.0001356/0.01247, allocations: 168.5 kB / 383.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.0125, allocations: 19.91 kB / 383.8 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002701/0.01277, allocations: 119.1 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.01277, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.01278, allocations: 0 / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.392e-06/0.01278, allocations: 3.984 kB / 383.9 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005983/0.01338, allocations: 436.9 kB / 384.3 MB, free: 11.64 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.01339, allocations: 4 kB / 384.3 MB, free: 11.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.01343, allocations: 12.03 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.01343, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.01345, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.01345, allocations: 4 kB / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.01345, allocations: 0 / 384.3 MB, free: 11.62 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003396/0.01379, allocations: 275.4 kB / 384.6 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.171e-05/0.01382, allocations: 15.89 kB / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.513e-05/0.01385, allocations: 0 / 384.6 MB, free: 11.31 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.412e-05/0.01392, allocations: 8 kB / 384.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.234e-05/0.01396, allocations: 7.984 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.01398, allocations: 8 kB / 384.6 MB, free: 11.29 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002138/0.01419, allocations: 208.5 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01419, allocations: 3.938 kB / 384.8 MB, free: 11.08 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002735/0.01447, allocations: 27.92 kB / 384.9 MB, free: 11.05 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.003328/0.01779, allocations: 499.4 kB / 385.4 MB, free: 10.77 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.01801, allocations: 67.59 kB / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01801, allocations: 0 / 385.4 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.471e-05/0.0181, allocations: 39.83 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.01849, allocations: 36.12 kB / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006001/0.01909, allocations: 274.4 kB / 385.8 MB, free: 10.32 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.01922, allocations: 117 kB / 385.9 MB, free: 10.19 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.118e-05/0.01927, allocations: 8.984 kB / 385.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.154e-05/0.01932, allocations: 20.48 kB / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of SimCode: time 1.233e-06/0.01932, allocations: 0 / 385.9 MB, free: 10.16 MB / 362.7 MB Notification: Performance of Templates: time 0.005922/0.02525, allocations: 1.889 MB / 387.8 MB, free: 8.301 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test1.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.070537631982006]