Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") translateModel(ModelicaTest.Tables.CombiTimeTable.Test9,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009948/0.0009945, allocations: 105.6 kB / 291.9 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4339/0.4339, allocations: 44.13 MB / 386.1 MB, free: 37.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001714/0.001714, allocations: 55.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3057, allocations: 60.8 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002883/0.3086, allocations: 1.755 MB / 0.5081 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3099, allocations: 0.8699 MB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001187/0.31, allocations: 2.594 kB / 0.509 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004986/0.3105, allocations: 76.88 kB / 0.509 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.3109, allocations: 71.97 kB / 0.5091 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003594/0.3113, allocations: 93.48 kB / 0.5092 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002141/0.3115, allocations: 108.7 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.3116, allocations: 9.75 kB / 0.5093 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.3117, allocations: 51.09 kB / 0.5094 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001124/0.3119, allocations: 57.12 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.3119, allocations: 2.781 kB / 0.5094 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.312, allocations: 34.69 kB / 0.5094 GB, free: 36.22 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 7.157e-05/0.3121, allocations: 25.47 kB / 0.5095 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.963e-05/0.3122, allocations: 33.27 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002201/0.3124, allocations: 118.4 kB / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.3124, allocations: 0 / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.3124, allocations: 0 / 0.5096 GB, free: 36.14 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.3124, allocations: 0 / 0.5096 GB, free: 36.14 MB / 378.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.0005041/0.3129, allocations: 426.7 kB / 0.51 GB, free: 35.72 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.313, allocations: 8.562 kB / 0.51 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.932e-05/0.313, allocations: 10.59 kB / 0.51 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001932/0.3132, allocations: 214.1 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.3133, allocations: 3.281 kB / 0.5102 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.3133, allocations: 10.14 kB / 0.5103 GB, free: 35.49 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.3135, allocations: 55.52 kB / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.3135, allocations: 0 / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3135, allocations: 0 / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3135, allocations: 2.906 kB / 0.5103 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.779e-05/0.3136, allocations: 19.77 kB / 0.5103 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003454/0.3139, allocations: 301.9 kB / 0.5106 GB, free: 35.14 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.3141, allocations: 52.42 kB / 0.5107 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.281e-05/0.3142, allocations: 20.64 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.213e-05/0.3142, allocations: 2.938 kB / 0.5107 GB, free: 35.1 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002398/0.3145, allocations: 76.52 kB / 0.5108 GB, free: 35.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/0.3145, allocations: 0 / 0.5108 GB, free: 35.03 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005812/0.3151, allocations: 173.6 kB / 0.5109 GB, free: 34.95 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3151, allocations: 54.28 kB / 0.511 GB, free: 34.88 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3153, allocations: 206 kB / 0.5112 GB, free: 34.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.198e-05/0.3153, allocations: 28.64 kB / 0.5112 GB, free: 34.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.44e-05/0.3154, allocations: 109.2 kB / 0.5113 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.438e-05/0.3154, allocations: 22.14 kB / 0.5113 GB, free: 34.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.736e-05/0.3154, allocations: 27.44 kB / 0.5114 GB, free: 34.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.216e-05/0.3155, allocations: 334.8 kB / 0.5117 GB, free: 34.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.12e-05/0.3155, allocations: 20.03 kB / 0.5117 GB, free: 34.24 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.235e-05/0.3156, allocations: 35.56 kB / 0.5117 GB, free: 34.22 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.588e-05/0.3157, allocations: 63.06 kB / 0.5118 GB, free: 34.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3157, allocations: 0 / 0.5118 GB, free: 34.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001534/0.3159, allocations: 108 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.3159, allocations: 6.812 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.3159, allocations: 5.703 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3159, allocations: 0 / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.573e-05/0.316, allocations: 13.62 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.316, allocations: 0 / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.645e-05/0.3161, allocations: 10.16 kB / 0.5119 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.454e-06/0.3161, allocations: 3 kB / 0.5119 GB, free: 34.11 MB / 378.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 7.936e-05/0.3162, allocations: 135.5 kB / 0.5121 GB, free: 33.98 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.914e-05/0.3162, allocations: 10.97 kB / 0.5121 GB, free: 33.97 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.112e-05/0.3163, allocations: 18.88 kB / 0.5121 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3163, allocations: 3.094 kB / 0.5121 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3163, allocations: 0 / 0.5121 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3163, allocations: 3.938 kB / 0.5121 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003386/0.3166, allocations: 392.3 kB / 0.5125 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3166, allocations: 0 / 0.5125 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.907e-05/0.3167, allocations: 16.09 kB / 0.5125 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3167, allocations: 0 / 0.5125 GB, free: 33.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.3167, allocations: 6.5 kB / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.3167, allocations: 3.328 kB / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3167, allocations: 2.812 kB / 0.5125 GB, free: 33.6 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003582/0.3171, allocations: 0.787 MB / 0.5133 GB, free: 32.84 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.541e-05/0.3171, allocations: 83.95 kB / 0.5133 GB, free: 32.74 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.116e-05/0.3171, allocations: 6.875 kB / 0.5133 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.493e-05/0.3172, allocations: 3.938 kB / 0.5134 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.163e-05/0.3172, allocations: 6.125 kB / 0.5134 GB, free: 32.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.3173, allocations: 5.75 kB / 0.5134 GB, free: 32.73 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.875e-05/0.3174, allocations: 157.3 kB / 0.5135 GB, free: 32.64 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3174, allocations: 0 / 0.5135 GB, free: 32.64 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003865/0.3178, allocations: 32.38 kB / 0.5135 GB, free: 32.62 MB / 378.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 (8): * Single equations (assignments): 6 * 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.0008806/0.3187, allocations: 476.1 kB / 0.514 GB, free: 32.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000155/0.3188, allocations: 65.06 kB / 0.5141 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3188, allocations: 4.062 kB / 0.5141 GB, free: 32.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.346e-05/0.3189, allocations: 29.88 kB / 0.5141 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.3192, allocations: 28.27 kB / 0.5141 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.3197, allocations: 400.7 kB / 0.5145 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001273/0.3198, allocations: 0.7048 MB / 0.5152 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.908e-05/0.3199, allocations: 13.2 kB / 0.5152 GB, free: 31.32 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.19e-05/0.3199, allocations: 15.28 kB / 0.5152 GB, free: 31.32 MB / 378.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3199, allocations: 4 kB / 0.5152 GB, free: 31.32 MB / 378.7 MB Notification: Performance of Templates: time 0.003815/0.3237, allocations: 1.683 MB / 0.5169 GB, free: 31.12 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches