Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.002089/0.002089, allocations: 92.97 kB / 20.21 MB, free: 4.211 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.003303/0.003303, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.588/1.588, allocations: 158.6 MB / 185.3 MB, free: 2.852 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2522/0.2522, allocations: 32.37 MB / 270 MB, free: 14.76 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 347 MB, free: 9.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.728e-05/2.895e-05, allocations: 6.312 kB / 347 MB, free: 9.711 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003005/0.003033, allocations: 1.893 MB / 348.9 MB, free: 7.809 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001279/0.004312, allocations: 0.8271 MB / 349.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001081/0.00442, allocations: 0 / 349.7 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003487/0.004769, allocations: 43.69 kB / 349.8 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002235/0.004993, allocations: 63.58 kB / 349.8 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002459/0.005239, allocations: 103.7 kB / 349.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001787/0.005417, allocations: 147.5 kB / 350.1 MB, free: 6.621 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001192/0.005536, allocations: 21.61 kB / 350.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000118/0.005654, allocations: 75.8 kB / 350.2 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.116e-05/0.005746, allocations: 39.83 kB / 350.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.632e-05/0.005772, allocations: 4 kB / 350.2 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.592e-05/0.005858, allocations: 47.92 kB / 350.3 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.08e-05/0.005919, allocations: 31.84 kB / 350.3 MB, free: 6.402 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.234e-05/0.005971, allocations: 27.92 kB / 350.3 MB, free: 6.375 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002406/0.006212, allocations: 159.4 kB / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.006215, allocations: 0 / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.006217, allocations: 0 / 350.5 MB, free: 6.219 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.006221, allocations: 4 kB / 350.5 MB, free: 6.215 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005638/0.006785, allocations: 0.4971 MB / 351 MB, free: 5.676 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.00682, allocations: 12.03 kB / 351 MB, free: 5.664 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.006884, allocations: 16.84 kB / 351 MB, free: 5.648 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002229/0.007107, allocations: 172.3 kB / 351.2 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.948e-05/0.007127, allocations: 8.375 kB / 351.2 MB, free: 5.445 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.007152, allocations: 4.375 kB / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002276/0.00738, allocations: 141 kB / 351.3 MB, free: 5.281 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.363e-05/0.007394, allocations: 15.86 kB / 351.3 MB, free: 5.266 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.007408, allocations: 4 kB / 351.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.007414, allocations: 0 / 351.4 MB, free: 5.262 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001245/0.007538, allocations: 39.98 kB / 351.4 MB, free: 5.223 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.008088, allocations: 0.5951 MB / 352 MB, free: 4.582 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.008428, allocations: 87.16 kB / 352.1 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.202e-05/0.0085, allocations: 35.61 kB / 352.1 MB, free: 4.445 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.008516, allocations: 4 kB / 352.1 MB, free: 4.441 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001759/0.008691, allocations: 110.7 kB / 352.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.008693, allocations: 0 / 352.2 MB, free: 4.312 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003768/0.00907, allocations: 137.5 kB / 352.4 MB, free: 4.172 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.009095, allocations: 55.41 kB / 352.4 MB, free: 4.105 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001599/0.009255, allocations: 250.7 kB / 352.7 MB, free: 3.844 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.009268, allocations: 25.7 kB / 352.7 MB, free: 3.812 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.612e-05/0.009334, allocations: 170.7 kB / 352.8 MB, free: 3.641 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.39e-05/0.009358, allocations: 43.72 kB / 352.9 MB, free: 3.598 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.009403, allocations: 35.36 kB / 352.9 MB, free: 3.555 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.009487, allocations: 0.5079 MB / 353.4 MB, free: 3.035 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.852e-05/0.009556, allocations: 27.98 kB / 353.5 MB, free: 3.008 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.413e-05/0.00963, allocations: 76.61 kB / 353.5 MB, free: 2.914 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001331/0.009763, allocations: 102.4 kB / 353.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.009765, allocations: 0 / 353.6 MB, free: 2.793 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002979/0.01006, allocations: 141.8 kB / 353.8 MB, free: 2.648 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.01008, allocations: 8 kB / 353.8 MB, free: 2.641 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.01009, allocations: 3.938 kB / 353.8 MB, free: 2.637 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.23e-05/0.01011, allocations: 4 kB / 353.8 MB, free: 2.633 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/0.01025, allocations: 27.92 kB / 353.8 MB, free: 2.605 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.01026, allocations: 4 kB / 353.8 MB, free: 2.602 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.477e-05/0.01033, allocations: 4 kB / 353.8 MB, free: 2.598 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.133e-05/0.01034, allocations: 4 kB / 353.8 MB, free: 2.594 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 9.681e-05/0.01044, allocations: 176.5 kB / 354 MB, free: 2.41 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.01047, allocations: 15.97 kB / 354 MB, free: 2.395 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002638/0.01073, allocations: 127 kB / 354.1 MB, free: 2.258 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01074, allocations: 4 kB / 354.1 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.01074, allocations: 0 / 354.1 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.01074, allocations: 0 / 354.1 MB, free: 2.254 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.01088, allocations: 172.5 kB / 354.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01088, allocations: 0 / 354.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.559e-05/0.01096, allocations: 11.94 kB / 354.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.01096, allocations: 0 / 354.3 MB, free: 2.039 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.01098, allocations: 15.98 kB / 354.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.01098, allocations: 0 / 354.3 MB, free: 2.023 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.01098, allocations: 4 kB / 354.3 MB, free: 2.02 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003297/0.01131, allocations: 188.2 kB / 354.5 MB, free: 1.812 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.01134, allocations: 15.94 kB / 354.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.01136, allocations: 0 / 354.5 MB, free: 1.797 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.31e-05/0.01142, allocations: 8 kB / 354.5 MB, free: 1.789 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.01147, allocations: 7.984 kB / 354.6 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.01149, allocations: 4 kB / 354.6 MB, free: 1.777 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001039/0.0116, allocations: 185 kB / 354.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0116, allocations: 0 / 354.7 MB, free: 1.598 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002323/0.01183, allocations: 31.89 kB / 354.8 MB, free: 1.566 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002758/0.01459, allocations: 450.3 kB / 355.2 MB, free: 1.23 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000235/0.01482, allocations: 87.52 kB / 355.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.01482, allocations: 0 / 355.3 MB, free: 1.141 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.44e-05/0.01491, allocations: 47.61 kB / 355.3 MB, free: 1.09 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.01524, allocations: 41.52 kB / 355.4 MB, free: 1.051 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004826/0.01573, allocations: 264.4 kB / 355.6 MB, free: 0.7656 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.913e-05/0.01578, allocations: 102.8 kB / 355.7 MB, free: 0.6406 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.736e-05/0.01584, allocations: 21.12 kB / 355.8 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.01588, allocations: 20.5 kB / 355.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01588, allocations: 0 / 355.8 MB, free: 0.6016 MB / 282.7 MB Notification: Performance of Templates: time 0.006966/0.02285, allocations: 2.04 MB / 357.8 MB, free: 14.58 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.451446030987427]