Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") translateModel(ModelicaTest.Tables.CombiTimeTable.Test70,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002037/0.002037, allocations: 120 kB / 17.09 MB, free: 5.988 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002568/0.002568, allocations: 198.9 kB / 18.01 MB, free: 5.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.046/3.046, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4431/0.4431, allocations: 43.53 MB / 314.8 MB, free: 456 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00289/0.00289, allocations: 81.39 kB / 442.5 MB, free: 5.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2287/0.2316, allocations: 57.78 MB / 0.4886 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.009672/0.2413, allocations: 1.787 MB / 0.4903 GB, free: 9.934 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.007003/0.2484, allocations: 0.8779 MB / 0.4912 GB, free: 9.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001817/0.2487, allocations: 4 kB / 0.4912 GB, free: 9.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009112/0.2496, allocations: 307.3 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007221/0.2504, allocations: 211.4 kB / 0.4917 GB, free: 8.535 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007522/0.2511, allocations: 143.6 kB / 0.4918 GB, free: 8.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006352/0.2518, allocations: 239.4 kB / 0.4921 GB, free: 8.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2519, allocations: 21.52 kB / 0.4921 GB, free: 8.141 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003979/0.2523, allocations: 127.5 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004786/0.2528, allocations: 195.5 kB / 0.4924 GB, free: 7.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.737e-05/0.2529, allocations: 11.94 kB / 0.4924 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002055/0.2531, allocations: 43.98 kB / 0.4924 GB, free: 7.77 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.2534, allocations: 135.6 kB / 0.4926 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002552/0.2537, allocations: 150.8 kB / 0.4927 GB, free: 7.488 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007095/0.2544, allocations: 370.6 kB / 0.4931 GB, free: 7.125 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.2544, allocations: 0 / 0.4931 GB, free: 7.125 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.2545, allocations: 0 / 0.4931 GB, free: 7.125 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.2545, allocations: 0 / 0.4931 GB, free: 7.125 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001665/0.2562, allocations: 0.7229 MB / 0.4938 GB, free: 6.352 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.229e-05/0.2562, allocations: 15.89 kB / 0.4938 GB, free: 6.336 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001618/0.2564, allocations: 44.38 kB / 0.4938 GB, free: 6.293 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.2575, allocations: 459.7 kB / 0.4943 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/0.2575, allocations: 4.375 kB / 0.4943 GB, free: 5.797 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.883e-05/0.2576, allocations: 8.125 kB / 0.4943 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.2579, allocations: 87.36 kB / 0.4944 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.2579, allocations: 0 / 0.4944 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.2579, allocations: 0 / 0.4944 GB, free: 5.691 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.258, allocations: 4 kB / 0.4944 GB, free: 5.688 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002033/0.2582, allocations: 31.91 kB / 0.4944 GB, free: 5.656 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007148/0.2589, allocations: 374.4 kB / 0.4948 GB, free: 5.238 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005181/0.2595, allocations: 101.2 kB / 0.4949 GB, free: 5.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.2597, allocations: 49.58 kB / 0.4949 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.2597, allocations: 4 kB / 0.4949 GB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00446/0.2642, allocations: 101.1 kB / 0.495 GB, free: 4.945 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.636e-06/0.2642, allocations: 0 / 0.495 GB, free: 4.945 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0009493/0.2652, allocations: 204.9 kB / 0.4952 GB, free: 4.738 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.461e-05/0.2653, allocations: 85.11 kB / 0.4953 GB, free: 4.637 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.2674, allocations: 1.034 MB / 0.4963 GB, free: 3.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.538e-05/0.2674, allocations: 29.7 kB / 0.4963 GB, free: 3.555 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003102/0.2678, allocations: 232.1 kB / 0.4965 GB, free: 3.324 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.89e-05/0.2679, allocations: 27.64 kB / 0.4966 GB, free: 3.297 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.268, allocations: 29.7 kB / 0.4966 GB, free: 3.262 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002655/0.2682, allocations: 370.8 kB / 0.4969 GB, free: 2.891 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2684, allocations: 31.98 kB / 0.497 GB, free: 2.859 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001751/0.2686, allocations: 59.91 kB / 0.497 GB, free: 2.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000318/0.269, allocations: 87.36 kB / 0.4971 GB, free: 2.691 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.269, allocations: 3.938 kB / 0.4971 GB, free: 2.688 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005913/0.2696, allocations: 180.9 kB / 0.4973 GB, free: 2.504 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.2696, allocations: 4 kB / 0.4973 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.137e-06/0.2697, allocations: 0 / 0.4973 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.2697, allocations: 4 kB / 0.4973 GB, free: 2.496 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002044/0.2699, allocations: 23.92 kB / 0.4973 GB, free: 2.473 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.2699, allocations: 4 kB / 0.4973 GB, free: 2.469 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002206/0.2702, allocations: 7.938 kB / 0.4973 GB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.2702, allocations: 11.94 kB / 0.4973 GB, free: 2.449 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * 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 0.0004098/0.2706, allocations: 229.7 kB / 0.4976 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001559/0.2708, allocations: 47.34 kB / 0.4976 GB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000169/0.271, allocations: 60 kB / 0.4977 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.271, allocations: 0 / 0.4977 GB, free: 2.109 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.619e-05/0.2711, allocations: 4 kB / 0.4977 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.2711, allocations: 0 / 0.4977 GB, free: 2.105 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005957/0.2717, allocations: 341.4 kB / 0.498 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2717, allocations: 0 / 0.498 GB, free: 1.723 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004126/0.2758, allocations: 7.938 kB / 0.498 GB, free: 1.715 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.367e-05/0.2759, allocations: 8 kB / 0.498 GB, free: 1.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.2759, allocations: 8.109 kB / 0.498 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.2759, allocations: 4 kB / 0.498 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.465e-06/0.276, allocations: 7.984 kB / 0.498 GB, free: 1.688 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006825/0.2767, allocations: 197.2 kB / 0.4982 GB, free: 1.473 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002436/0.2769, allocations: 140.4 kB / 0.4984 GB, free: 1.316 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.592e-05/0.277, allocations: 4 kB / 0.4984 GB, free: 1.312 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001702/0.2772, allocations: 11.98 kB / 0.4984 GB, free: 1.301 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.323e-05/0.2773, allocations: 4 kB / 0.4984 GB, free: 1.297 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/0.2774, allocations: 7.984 kB / 0.4984 GB, free: 1.289 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001582/0.279, allocations: 0.7722 MB / 0.4991 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of sort global known variables: time 4.61e-07/0.279, allocations: 0 / 0.4991 GB, free: 0.5195 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005323/0.2795, allocations: 43.98 kB / 0.4992 GB, free: 488 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001772/0.2813, allocations: 420.1 kB / 0.4996 GB, free: 100 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004586/0.2818, allocations: 87.84 kB / 0.4997 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2818, allocations: 0 / 0.4997 GB, free: 12 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002393/0.2821, allocations: 39.97 kB / 0.4997 GB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007558/0.2829, allocations: 70.08 kB / 0.4998 GB, free: 15.9 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006271/0.2891, allocations: 0.9113 MB / 0.5007 GB, free: 14.96 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006899/0.2899, allocations: 0.8426 MB / 0.5015 GB, free: 14.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.2901, allocations: 35.42 kB / 0.5015 GB, free: 14.05 MB / 398.1 MB Notification: Performance of SimCode: time 7.61e-07/0.2901, allocations: 0 / 0.5015 GB, free: 14.05 MB / 398.1 MB Notification: Performance of Templates: time 0.02032/0.3104, allocations: 5.146 MB / 0.5065 GB, free: 8.902 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test70/Test70.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test70.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches