Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") translateModel(ModelicaTest.Tables.CombiTimeTable.Test52,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00164/0.00164, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001101/0.001101, allocations: 113 kB / 296.7 MB, free: 6.465 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3358/0.3358, allocations: 44.83 MB / 392.7 MB, free: 34.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001775/0.001775, allocations: 71.88 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3306, allocations: 62.01 MB / 0.5152 GB, free: 37.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002633/0.3332, allocations: 1.793 MB / 0.5169 GB, free: 36.7 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001286/0.3345, allocations: 1.026 MB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.491e-05/0.3346, allocations: 4 kB / 0.5179 GB, free: 36 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.3349, allocations: 49.92 kB / 0.518 GB, free: 35.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.3351, allocations: 78.53 kB / 0.518 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002115/0.3353, allocations: 97.41 kB / 0.5181 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001256/0.3354, allocations: 99.02 kB / 0.5182 GB, free: 35.86 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.174e-05/0.3355, allocations: 13.72 kB / 0.5182 GB, free: 35.85 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.638e-05/0.3356, allocations: 44.78 kB / 0.5183 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.181e-05/0.3357, allocations: 37.86 kB / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.3357, allocations: 2.938 kB / 0.5183 GB, free: 35.81 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.822e-05/0.3358, allocations: 41.22 kB / 0.5184 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.209e-05/0.3358, allocations: 26.61 kB / 0.5184 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.434e-05/0.3359, allocations: 39.78 kB / 0.5184 GB, free: 35.76 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001644/0.336, allocations: 119.4 kB / 0.5185 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.3361, allocations: 6.969 kB / 0.5185 GB, free: 35.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3361, allocations: 0 / 0.5185 GB, free: 35.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.003e-06/0.3361, allocations: 0 / 0.5185 GB, free: 35.71 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.0004673/0.3366, allocations: 435.5 kB / 0.519 GB, free: 35.28 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.3366, allocations: 11.66 kB / 0.519 GB, free: 35.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.334e-05/0.3366, allocations: 18.56 kB / 0.519 GB, free: 35.27 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001822/0.3368, allocations: 210.2 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.3369, allocations: 3.281 kB / 0.5192 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.3369, allocations: 10.97 kB / 0.5192 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001195/0.337, allocations: 59.05 kB / 0.5193 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.337, allocations: 0 / 0.5193 GB, free: 35 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.337, allocations: 7.984 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.337, allocations: 2.812 kB / 0.5193 GB, free: 34.99 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.223e-05/0.3371, allocations: 20.19 kB / 0.5193 GB, free: 34.98 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.3374, allocations: 290.8 kB / 0.5196 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001379/0.3375, allocations: 64.48 kB / 0.5196 GB, free: 34.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.359e-05/0.3376, allocations: 17.42 kB / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.719e-05/0.3376, allocations: 0 / 0.5196 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.3377, allocations: 71.8 kB / 0.5197 GB, free: 34.58 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.533e-06/0.3378, allocations: 0 / 0.5197 GB, free: 34.58 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004678/0.3382, allocations: 186 kB / 0.5199 GB, free: 34.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/0.3383, allocations: 55.41 kB / 0.5199 GB, free: 34.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.3384, allocations: 229.5 kB / 0.5202 GB, free: 34.29 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.3384, allocations: 29.7 kB / 0.5202 GB, free: 34.25 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.743e-05/0.3385, allocations: 112.2 kB / 0.5203 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.156e-05/0.3385, allocations: 25.47 kB / 0.5203 GB, free: 34.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.3385, allocations: 22.86 kB / 0.5203 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.699e-05/0.3386, allocations: 331.9 kB / 0.5207 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.975e-05/0.3387, allocations: 24.02 kB / 0.5207 GB, free: 33.77 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.423e-05/0.3387, allocations: 35.39 kB / 0.5207 GB, free: 33.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.194e-05/0.3388, allocations: 62.8 kB / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.3388, allocations: 0 / 0.5208 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001485/0.339, allocations: 100.6 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.339, allocations: 5.344 kB / 0.5209 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.339, allocations: 4.031 kB / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.339, allocations: 0 / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.711e-05/0.3391, allocations: 16.53 kB / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3391, allocations: 5.906 kB / 0.5209 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.192e-05/0.3392, allocations: 7.156 kB / 0.5209 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.023e-06/0.3392, allocations: 6.891 kB / 0.5209 GB, free: 33.64 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 6.876e-05/0.3393, allocations: 131.3 kB / 0.521 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.924e-05/0.3393, allocations: 13.66 kB / 0.5211 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.438e-05/0.3393, allocations: 22.39 kB / 0.5211 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.3393, allocations: 2.906 kB / 0.5211 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3393, allocations: 4 kB / 0.5211 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3393, allocations: 3.938 kB / 0.5211 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.3397, allocations: 402.3 kB / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3397, allocations: 0 / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.848e-05/0.3397, allocations: 8.656 kB / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3397, allocations: 0 / 0.5215 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.238e-06/0.3397, allocations: 10.75 kB / 0.5215 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.3397, allocations: 4.188 kB / 0.5215 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.3397, allocations: 2.656 kB / 0.5215 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.3401, allocations: 0.7964 MB / 0.5223 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.622e-05/0.3401, allocations: 87.22 kB / 0.5224 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.967e-05/0.3401, allocations: 6.875 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.3402, allocations: 4 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.31e-05/0.3402, allocations: 9.047 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.169e-05/0.3402, allocations: 2.844 kB / 0.5224 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000101/0.3404, allocations: 178.1 kB / 0.5225 GB, free: 32.15 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3404, allocations: 0 / 0.5225 GB, free: 32.15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000325/0.3407, allocations: 24.53 kB / 0.5226 GB, free: 32.14 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.0008328/0.3415, allocations: 462.1 kB / 0.523 GB, free: 31.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001433/0.3417, allocations: 64.72 kB / 0.5231 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3417, allocations: 0 / 0.5231 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.943e-05/0.3418, allocations: 28.58 kB / 0.5231 GB, free: 31.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003186/0.3421, allocations: 35.52 kB / 0.5231 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.3425, allocations: 412.9 kB / 0.5235 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001167/0.3426, allocations: 0.7134 MB / 0.5242 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.914e-05/0.3427, allocations: 23.08 kB / 0.5242 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.911e-05/0.3427, allocations: 15.66 kB / 0.5243 GB, free: 30.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.51e-07/0.3427, allocations: 0 / 0.5243 GB, free: 30.83 MB / 378.7 MB Notification: Performance of Templates: time 0.003375/0.3461, allocations: 1.718 MB / 0.5259 GB, free: 30.64 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches