Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.001977/0.001977, allocations: 96.25 kB / 20.96 MB, free: 3.473 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.001634/0.001634, allocations: 156.9 kB / 24.26 MB, free: 176 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.563/1.563, allocations: 177 MB / 204.4 MB, free: 5.613 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.3731/0.3731, allocations: 34.24 MB / 295.2 MB, free: 0.6758 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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") translateModel(ModelicaTest.Tables.CombiTimeTable.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.954e-06/1.954e-06, allocations: 0 / 377.3 MB, free: 2.836 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.336e-05, allocations: 2.312 kB / 377.3 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test3): time 0.003664/0.003697, allocations: 1.715 MB / 379 MB, free: 1.105 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002082/0.005779, allocations: 0.9775 MB / 380 MB, free: 124 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.005881, allocations: 3.938 kB / 380 MB, free: 120 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003381/0.006219, allocations: 43.7 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004805/0.006699, allocations: 91.55 kB / 380.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.007069, allocations: 79.59 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002984/0.007367, allocations: 111.6 kB / 380.3 MB, free: 15.8 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.007475, allocations: 7.984 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.00762, allocations: 47.91 kB / 380.4 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.007724, allocations: 35.83 kB / 380.4 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.007746, allocations: 8 kB / 380.4 MB, free: 15.7 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001409/0.007887, allocations: 43.92 kB / 380.4 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.007949, allocations: 15.94 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.97e-05/0.008009, allocations: 23.91 kB / 380.5 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002838/0.008293, allocations: 111.6 kB / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.908e-06/0.008296, allocations: 0 / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.008298, allocations: 0 / 380.6 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.008303, allocations: 0 / 380.6 MB, free: 15.51 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.0006489/0.008952, allocations: 337.6 kB / 380.9 MB, free: 15.15 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.008993, allocations: 12.03 kB / 380.9 MB, free: 15.14 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.057e-05/0.009063, allocations: 16.84 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.00939, allocations: 149.4 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.009406, allocations: 4.375 kB / 381.1 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.009432, allocations: 4.312 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000176/0.009608, allocations: 58.23 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.00962, allocations: 4.188 kB / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.009631, allocations: 384 / 381.2 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.009638, allocations: 3.938 kB / 381.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.511e-05/0.009734, allocations: 27.97 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004047/0.01014, allocations: 224.5 kB / 381.4 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.01036, allocations: 66.61 kB / 381.5 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.307e-05/0.01044, allocations: 20.84 kB / 381.5 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.178e-05/0.01046, allocations: 4 kB / 381.5 MB, free: 14.49 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.01064, allocations: 67.33 kB / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.192e-06/0.01064, allocations: 0 / 381.6 MB, free: 14.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006907/0.01133, allocations: 181.3 kB / 381.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.168e-05/0.01138, allocations: 55.41 kB / 381.8 MB, free: 14.16 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002178/0.0116, allocations: 171 kB / 382 MB, free: 13.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.01163, allocations: 29.7 kB / 382 MB, free: 13.95 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.543e-05/0.01171, allocations: 108.1 kB / 382.1 MB, free: 13.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.059e-05/0.01175, allocations: 23.8 kB / 382.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.881e-05/0.0118, allocations: 17.72 kB / 382.1 MB, free: 13.79 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.01198, allocations: 322.8 kB / 382.5 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-05/0.01205, allocations: 27.92 kB / 382.5 MB, free: 13.44 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.763e-05/0.01215, allocations: 37.7 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.01229, allocations: 57.7 kB / 382.6 MB, free: 13.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.0123, allocations: 4 kB / 382.6 MB, free: 13.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002457/0.01254, allocations: 121.4 kB / 382.7 MB, free: 13.21 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.01256, allocations: 4 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.8e-06/0.01256, allocations: 0 / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/0.01259, allocations: 4 kB / 382.7 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.01268, allocations: 15.98 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.01269, allocations: 4.094 kB / 382.7 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.01274, allocations: 7.938 kB / 382.7 MB, free: 13.17 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.01275, allocations: 0 / 382.7 MB, free: 13.17 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.0001268/0.01288, allocations: 124.1 kB / 382.9 MB, free: 13.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.643e-05/0.01291, allocations: 19.92 kB / 382.9 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000305/0.01322, allocations: 130.5 kB / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01322, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01322, allocations: 384 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.01323, allocations: 0 / 383 MB, free: 12.89 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005073/0.01374, allocations: 342.9 kB / 383.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.01374, allocations: 8 kB / 383.3 MB, free: 12.51 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.102e-05/0.01379, allocations: 15.97 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-06/0.0138, allocations: 0 / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.281e-05/0.01381, allocations: 4 kB / 383.4 MB, free: 12.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.01381, allocations: 4.031 kB / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01381, allocations: 0 / 383.4 MB, free: 12.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000322/0.01413, allocations: 224.2 kB / 383.6 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.01416, allocations: 7.953 kB / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.106e-05/0.01418, allocations: 0 / 383.6 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.682e-05/0.01425, allocations: 8 kB / 383.6 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.0143, allocations: 7.984 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.01431, allocations: 4 kB / 383.6 MB, free: 12.22 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001357/0.01445, allocations: 136.1 kB / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.01445, allocations: 0 / 383.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002791/0.01473, allocations: 35.86 kB / 383.8 MB, free: 12.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.00222/0.01695, allocations: 470.9 kB / 384.2 MB, free: 11.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000205/0.01715, allocations: 75.78 kB / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.01716, allocations: 0 / 384.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.01724, allocations: 27.98 kB / 384.3 MB, free: 11.66 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.0176, allocations: 27.94 kB / 384.4 MB, free: 11.63 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.01811, allocations: 221.8 kB / 384.6 MB, free: 11.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.01822, allocations: 89.44 kB / 384.7 MB, free: 11.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.394e-05/0.01827, allocations: 17.41 kB / 384.7 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.112e-05/0.01832, allocations: 24.48 kB / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of SimCode: time 4.91e-07/0.01832, allocations: 0 / 384.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of Templates: time 0.005464/0.02379, allocations: 1.849 MB / 386.6 MB, free: 9.402 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test3/Test3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test3.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.109413634985685]