Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.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.0009914/0.0009914, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001058/0.001058, allocations: 161.4 kB / 24.56 MB, free: 20 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.015/1.015, allocations: 177.2 MB / 205 MB, free: 5.277 MB / 186.7 MB " [Timeout remaining time 179] 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.2871/0.2871, allocations: 34.27 MB / 295.7 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] 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.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") translateModel(ModelicaTest.Tables.CombiTimeTable.Test56,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5039,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 3.938 kB / 378.1 MB, free: 2.562 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.049e-05, allocations: 4.703 kB / 378.1 MB, free: 2.559 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test56): time 0.002669/0.0027, allocations: 1.766 MB / 379.9 MB, free: 0.7773 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.004909, allocations: 1.734 MB / 381.6 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.634e-05/0.005006, allocations: 3.938 kB / 381.6 MB, free: 15.03 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003319/0.005338, allocations: 35.77 kB / 381.7 MB, free: 15 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.005727, allocations: 107.5 kB / 381.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002075/0.005934, allocations: 79.59 kB / 381.8 MB, free: 14.81 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.006119, allocations: 115.6 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.006223, allocations: 4 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.006328, allocations: 63.77 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001185/0.006446, allocations: 31.89 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.368e-05/0.00647, allocations: 8 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.00664, allocations: 99.81 kB / 382.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.609e-05/0.006696, allocations: 19.92 kB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.00674, allocations: 19.92 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002562/0.006996, allocations: 167.4 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.006998, allocations: 4 kB / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.007, allocations: 0 / 382.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.007006, allocations: 0 / 382.4 MB, free: 14.29 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.0004966/0.007503, allocations: 451.8 kB / 382.8 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.007539, allocations: 8.031 kB / 382.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.557e-05/0.007595, allocations: 16.89 kB / 382.8 MB, free: 13.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.007787, allocations: 145.6 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.007803, allocations: 4.312 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.633e-05/0.00783, allocations: 8.375 kB / 383 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001624/0.007992, allocations: 111.4 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.008003, allocations: 7.953 kB / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.008013, allocations: 0 / 383.1 MB, free: 13.47 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.707e-06/0.008022, allocations: 3.984 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.607e-05/0.008058, allocations: 11.98 kB / 383.1 MB, free: 13.45 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003499/0.008408, allocations: 287.8 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.008514, allocations: 55.11 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.083e-05/0.008545, allocations: 15.69 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.00856, allocations: 4 kB / 383.5 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/0.008662, allocations: 73.05 kB / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.008663, allocations: 0 / 383.5 MB, free: 12.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004074/0.00907, allocations: 157.3 kB / 383.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.009115, allocations: 77.11 kB / 383.8 MB, free: 12.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.009263, allocations: 223.9 kB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.009277, allocations: 25.7 kB / 384 MB, free: 12.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.009345, allocations: 146.9 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.009378, allocations: 23.8 kB / 384.2 MB, free: 12.27 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.625e-05/0.009424, allocations: 31.36 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.009577, allocations: 0.4961 MB / 384.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.056e-05/0.009607, allocations: 12 kB / 384.7 MB, free: 11.71 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-05/0.009662, allocations: 68.75 kB / 384.8 MB, free: 11.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.688e-05/0.009729, allocations: 59.36 kB / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.009731, allocations: 0 / 384.8 MB, free: 11.56 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001234/0.009854, allocations: 89.58 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.00987, allocations: 8 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.009875, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.009892, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.204e-05/0.009974, allocations: 23.86 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.009982, allocations: 4 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.239e-05/0.01001, allocations: 8.062 kB / 385 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.01002, allocations: 4 kB / 385 MB, free: 11.42 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 8.021e-05/0.0101, allocations: 164.5 kB / 385.1 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.935e-05/0.01012, allocations: 7.953 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001762/0.0103, allocations: 106.4 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.0103, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.0103, allocations: 0 / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01031, allocations: 4 kB / 385.3 MB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003089/0.01062, allocations: 392.9 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.01062, allocations: 4.031 kB / 385.6 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.073e-05/0.01065, allocations: 8 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.01065, allocations: 4 kB / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.01066, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.01066, allocations: 0 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.01067, allocations: 384 / 385.7 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001506/0.01082, allocations: 255.4 kB / 385.9 MB, free: 10.4 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.01083, allocations: 15.94 kB / 385.9 MB, free: 10.39 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.01085, allocations: 4 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.601e-05/0.0109, allocations: 4 kB / 385.9 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.58e-05/0.01094, allocations: 23.86 kB / 386 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.01095, allocations: 4 kB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.014e-05/0.01103, allocations: 162 kB / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01103, allocations: 0 / 386.1 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002142/0.01125, allocations: 47.86 kB / 386.2 MB, free: 10.15 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.001145/0.01239, allocations: 0.5444 MB / 386.7 MB, free: 9.805 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.01252, allocations: 51.59 kB / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.01252, allocations: 0 / 386.8 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.442e-05/0.01257, allocations: 35.61 kB / 386.8 MB, free: 9.711 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/0.01281, allocations: 35.36 kB / 386.8 MB, free: 9.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.01318, allocations: 205.9 kB / 387 MB, free: 9.445 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.738e-05/0.01323, allocations: 63.34 kB / 387.1 MB, free: 9.363 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.713e-05/0.01328, allocations: 20.95 kB / 387.1 MB, free: 9.34 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.01332, allocations: 20.48 kB / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of SimCode: time 7.51e-07/0.01332, allocations: 0 / 387.1 MB, free: 9.32 MB / 362.7 MB Notification: Performance of Templates: time 0.005041/0.01836, allocations: 2.537 MB / 389.7 MB, free: 6.812 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test56_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test56/Test56.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.382227370981127]