Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.001425/0.001425, allocations: 88.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.001503/0.001503, allocations: 161.7 kB / 24.27 MB, free: 168 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.559/1.559, allocations: 177.1 MB / 204.6 MB, free: 5.57 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3803/0.3803, allocations: 32.79 MB / 293.9 MB, free: 1.188 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") translateModel(ModelicaTest.Tables.CombiTimeTable.Test63,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.036e-06/3.036e-06, allocations: 0 / 375.3 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.755e-05/4.059e-05, allocations: 4.984 kB / 375.3 MB, free: 4.879 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test63): time 0.004204/0.004244, allocations: 1.68 MB / 377 MB, free: 3.184 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002449/0.006693, allocations: 0.9587 MB / 378 MB, free: 2.219 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.006816, allocations: 7.938 kB / 378 MB, free: 2.211 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003511/0.007167, allocations: 43.81 kB / 378 MB, free: 2.168 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004121/0.007579, allocations: 107.5 kB / 378.1 MB, free: 2.062 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003008/0.00788, allocations: 75.62 kB / 378.2 MB, free: 1.988 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002507/0.00813, allocations: 107.6 kB / 378.3 MB, free: 1.883 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.719e-05/0.008178, allocations: 4.172 kB / 378.3 MB, free: 1.879 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.008316, allocations: 47.84 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.008428, allocations: 31.84 kB / 378.4 MB, free: 1.801 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.721e-05/0.008456, allocations: 4 kB / 378.4 MB, free: 1.797 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.008578, allocations: 31.98 kB / 378.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.469e-05/0.008663, allocations: 23.92 kB / 378.4 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.618e-05/0.008729, allocations: 23.86 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.009017, allocations: 115.6 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.009022, allocations: 4 kB / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.492e-06/0.009023, allocations: 0 / 378.6 MB, free: 1.602 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.033e-06/0.00903, allocations: 0 / 378.6 MB, free: 1.602 MB / 346.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.0007745/0.009805, allocations: 373.3 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.009854, allocations: 8.031 kB / 379 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/0.009954, allocations: 24.83 kB / 379 MB, free: 1.176 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004191/0.01037, allocations: 158.5 kB / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.067e-05/0.01039, allocations: 384 / 379.1 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.01041, allocations: 4.375 kB / 379.1 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002059/0.01062, allocations: 46.23 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.257e-05/0.01063, allocations: 7.938 kB / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.01064, allocations: 0 / 379.2 MB, free: 0.9297 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.01065, allocations: 4 kB / 379.2 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.565e-05/0.01074, allocations: 19.92 kB / 379.2 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002934/0.01104, allocations: 149.2 kB / 379.4 MB, free: 0.7305 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002004/0.01124, allocations: 50.61 kB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.959e-05/0.01131, allocations: 20.84 kB / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.01133, allocations: 0 / 379.4 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002096/0.01154, allocations: 71.39 kB / 379.5 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.433e-06/0.01154, allocations: 3.938 kB / 379.5 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003929/0.01193, allocations: 105.5 kB / 379.6 MB, free: 464 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.012, allocations: 55.41 kB / 379.7 MB, free: 396 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.01237, allocations: 268.1 kB / 379.9 MB, free: 116 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.0124, allocations: 33.7 kB / 380 MB, free: 76 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.01253, allocations: 112.1 kB / 380.1 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.671e-05/0.01257, allocations: 15.89 kB / 380.1 MB, free: 15.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.514e-05/0.01264, allocations: 17.72 kB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002018/0.01284, allocations: 330.8 kB / 380.4 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.01e-05/0.0129, allocations: 19.98 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.635e-05/0.01297, allocations: 29.7 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.01307, allocations: 41.66 kB / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.01308, allocations: 0 / 380.5 MB, free: 15.49 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002166/0.01329, allocations: 97.52 kB / 380.6 MB, free: 15.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.01331, allocations: 4 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.01332, allocations: 3.938 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.01334, allocations: 4 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.72e-05/0.01344, allocations: 16.33 kB / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/0.01345, allocations: 0 / 380.6 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.0135, allocations: 7.938 kB / 380.6 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.01351, allocations: 4 kB / 380.7 MB, free: 15.35 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.000138/0.01365, allocations: 133.8 kB / 380.8 MB, free: 15.21 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.88e-05/0.01369, allocations: 15.91 kB / 380.8 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.01395, allocations: 110.7 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.01395, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.01395, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.01396, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001703/0.01413, allocations: 149.2 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01413, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.935e-05/0.01416, allocations: 4 kB / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.01416, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-06/0.01417, allocations: 0 / 381.1 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.993e-06/0.01417, allocations: 7.938 kB / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.01418, allocations: 0 / 381.1 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002438/0.01442, allocations: 128.9 kB / 381.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.519e-05/0.01444, allocations: 11.94 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.179e-05/0.01447, allocations: 0 / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.621e-05/0.01451, allocations: 7.938 kB / 381.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.015e-05/0.01455, allocations: 7.984 kB / 381.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.638e-05/0.01457, allocations: 4 kB / 381.2 MB, free: 14.71 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000222/0.01479, allocations: 204.6 kB / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01479, allocations: 0 / 381.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002309/0.01502, allocations: 23.98 kB / 381.4 MB, free: 14.49 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.002061/0.01708, allocations: 438.8 kB / 381.9 MB, free: 14.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.01728, allocations: 39.92 kB / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.01728, allocations: 0 / 381.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.985e-05/0.01736, allocations: 28.05 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.0177, allocations: 35.69 kB / 382 MB, free: 14.14 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007575/0.01845, allocations: 280.8 kB / 382.2 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.0186, allocations: 105.7 kB / 382.4 MB, free: 13.72 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.158e-05/0.01867, allocations: 16.47 kB / 382.4 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.01872, allocations: 16.5 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of SimCode: time 7.02e-07/0.01872, allocations: 4 kB / 382.4 MB, free: 13.69 MB / 362.7 MB Notification: Performance of Templates: time 0.005837/0.02456, allocations: 1.658 MB / 384 MB, free: 12.05 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test63/Test63.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test63.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.9813127759844065]