Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001378/0.001378, allocations: 84.34 kB / 20.95 MB, free: 3.453 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.001609/0.001609, allocations: 169.3 kB / 24.27 MB, free: 144 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.485/1.485, allocations: 177.2 MB / 204.6 MB, free: 5.594 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.381/0.381, allocations: 32.79 MB / 293.9 MB, free: 1.215 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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.943e-06/1.943e-06, allocations: 0 / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.288e-05, allocations: 2.312 kB / 375.3 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003782/0.003815, allocations: 1.679 MB / 377 MB, free: 3.211 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00249/0.006305, allocations: 0.9509 MB / 378 MB, free: 2.254 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.006474, allocations: 7.875 kB / 378 MB, free: 2.246 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006005/0.007074, allocations: 63.72 kB / 378 MB, free: 2.184 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000748/0.007822, allocations: 107.5 kB / 378.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.008269, allocations: 71.62 kB / 378.2 MB, free: 2.008 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000402/0.008671, allocations: 115.6 kB / 378.3 MB, free: 1.895 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.008749, allocations: 8.219 kB / 378.3 MB, free: 1.887 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002345/0.008984, allocations: 55.78 kB / 378.4 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.009142, allocations: 43.88 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.009168, allocations: 4 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001309/0.009299, allocations: 35.92 kB / 378.5 MB, free: 1.75 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 8.466e-05/0.009384, allocations: 23.91 kB / 378.5 MB, free: 1.727 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.928e-05/0.009443, allocations: 15.94 kB / 378.5 MB, free: 1.711 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002963/0.009739, allocations: 107.7 kB / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.009743, allocations: 0 / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.009744, allocations: 0 / 378.6 MB, free: 1.605 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.009751, allocations: 0 / 378.6 MB, free: 1.605 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.0007468/0.0105, allocations: 341.5 kB / 378.9 MB, free: 1.242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.187e-05/0.01055, allocations: 16.02 kB / 379 MB, free: 1.227 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.427e-05/0.01062, allocations: 8.891 kB / 379 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.01101, allocations: 154.2 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.905e-05/0.01104, allocations: 4.375 kB / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.94e-05/0.01106, allocations: 384 / 379.1 MB, free: 1.039 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.01124, allocations: 58.23 kB / 379.2 MB, free: 0.9766 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.451e-05/0.01126, allocations: 3.938 kB / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.01127, allocations: 0 / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.01128, allocations: 0 / 379.2 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.733e-05/0.01137, allocations: 19.92 kB / 379.2 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002533/0.01163, allocations: 125.3 kB / 379.3 MB, free: 0.8008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002225/0.01185, allocations: 54.61 kB / 379.4 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.758e-05/0.01192, allocations: 16.86 kB / 379.4 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/0.01194, allocations: 4 kB / 379.4 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002077/0.01215, allocations: 71.38 kB / 379.5 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.01215, allocations: 3.938 kB / 379.5 MB, free: 0.6289 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004101/0.01256, allocations: 101.5 kB / 379.6 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.01263, allocations: 51.41 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.01291, allocations: 206.7 kB / 379.8 MB, free: 252 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.01294, allocations: 25.7 kB / 379.9 MB, free: 220 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.384e-05/0.01302, allocations: 104.1 kB / 380 MB, free: 112 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.01306, allocations: 11.91 kB / 380 MB, free: 100 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.314e-05/0.01312, allocations: 21.7 kB / 380 MB, free: 72 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.01332, allocations: 326.8 kB / 380.3 MB, free: 15.74 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.01339, allocations: 16 kB / 380.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.691e-05/0.01347, allocations: 29.7 kB / 380.4 MB, free: 15.69 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001261/0.01359, allocations: 49.64 kB / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01359, allocations: 0 / 380.4 MB, free: 15.64 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002279/0.01382, allocations: 85.58 kB / 380.5 MB, free: 15.55 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.01385, allocations: 10.02 kB / 380.5 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.01386, allocations: 7.875 kB / 380.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.676e-05/0.01388, allocations: 8.031 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.511e-05/0.01398, allocations: 8.312 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.01399, allocations: 0 / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.01405, allocations: 11.94 kB / 380.5 MB, free: 15.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-06/0.01406, allocations: 0 / 380.5 MB, free: 15.5 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.0001301/0.01419, allocations: 121.8 kB / 380.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.01422, allocations: 15.91 kB / 380.7 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002579/0.01448, allocations: 106.7 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.01448, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01449, allocations: 0 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.01449, allocations: 4 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.01467, allocations: 129.3 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.01468, allocations: 4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.44e-05/0.01471, allocations: 4 kB / 380.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.219e-06/0.01472, allocations: 3.984 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.01473, allocations: 0 / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.04e-06/0.01473, allocations: 3.938 kB / 380.9 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.01473, allocations: 3.984 kB / 380.9 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002547/0.01499, allocations: 121 kB / 381 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.276e-05/0.01501, allocations: 7.953 kB / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.01503, allocations: 0 / 381 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.01509, allocations: 19.92 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.246e-05/0.01513, allocations: 0 / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/0.01515, allocations: 4 kB / 381.1 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001635/0.01531, allocations: 152.2 kB / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01531, allocations: 0 / 381.2 MB, free: 14.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002454/0.01556, allocations: 19.94 kB / 381.2 MB, free: 14.74 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.002063/0.01762, allocations: 432.4 kB / 381.7 MB, free: 14.49 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001955/0.01781, allocations: 43.92 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.01782, allocations: 4.062 kB / 381.7 MB, free: 14.45 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.06e-05/0.01789, allocations: 19.98 kB / 381.7 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.01819, allocations: 38.47 kB / 381.8 MB, free: 14.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005948/0.01879, allocations: 216.6 kB / 382 MB, free: 14.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001102/0.0189, allocations: 89.38 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.371e-05/0.01895, allocations: 8.5 kB / 382.1 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.72e-05/0.019, allocations: 20.48 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of SimCode: time 9.02e-07/0.019, allocations: 0 / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of Templates: time 0.00571/0.02471, allocations: 1.639 MB / 383.7 MB, free: 12.4 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.913072929950431]