Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") translateModel(ModelicaTest.Tables.CombiTimeTable.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001192/0.001192, 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.372/1.372, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009912/0.0009912, allocations: 106.6 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4001/0.4001, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.89 kB / 465.5 MB, free: 12.1 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.4137, allocations: 62.01 MB / 0.5152 GB, free: 37.91 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test21): time 0.003801/0.4175, allocations: 1.795 MB / 0.5169 GB, free: 36.65 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001763/0.4193, allocations: 1.025 MB / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.999e-05/0.4194, allocations: 0 / 0.5179 GB, free: 35.95 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003722/0.4198, allocations: 40.41 kB / 0.518 GB, free: 35.93 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002562/0.4201, allocations: 76.08 kB / 0.518 GB, free: 35.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.4204, allocations: 96.08 kB / 0.5181 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001673/0.4206, allocations: 98.42 kB / 0.5182 GB, free: 35.8 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.4207, allocations: 20.23 kB / 0.5182 GB, free: 35.79 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.574e-05/0.4208, allocations: 38.58 kB / 0.5183 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.4209, allocations: 41.45 kB / 0.5183 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.4209, allocations: 2.875 kB / 0.5183 GB, free: 35.75 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.421, allocations: 40.44 kB / 0.5183 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.152e-05/0.4211, allocations: 13.06 kB / 0.5184 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.724e-05/0.4211, allocations: 39.59 kB / 0.5184 GB, free: 35.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002019/0.4214, allocations: 109.6 kB / 0.5185 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.175e-06/0.4214, allocations: 13.67 kB / 0.5185 GB, free: 35.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4214, allocations: 0 / 0.5185 GB, free: 35.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.4214, allocations: 3.938 kB / 0.5185 GB, free: 35.65 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.000578/0.422, allocations: 410.5 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.422, allocations: 8.688 kB / 0.5189 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.4221, allocations: 17.73 kB / 0.5189 GB, free: 35.24 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002025/0.4223, allocations: 204.8 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.222e-05/0.4223, allocations: 7.219 kB / 0.5191 GB, free: 35.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.4223, allocations: 10.94 kB / 0.5191 GB, free: 35.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.4225, allocations: 58.45 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.4225, allocations: 0 / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.4225, allocations: 3.969 kB / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.4226, allocations: 0 / 0.5192 GB, free: 34.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.151e-05/0.4226, allocations: 25.06 kB / 0.5192 GB, free: 34.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.423, allocations: 297.3 kB / 0.5195 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001603/0.4232, allocations: 56.69 kB / 0.5196 GB, free: 34.62 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.088e-05/0.4232, allocations: 21.73 kB / 0.5196 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.4233, allocations: 0 / 0.5196 GB, free: 34.61 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.4235, allocations: 75.66 kB / 0.5197 GB, free: 34.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.382e-06/0.4235, allocations: 0 / 0.5197 GB, free: 34.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.000534/0.424, allocations: 169.9 kB / 0.5198 GB, free: 34.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.886e-05/0.4241, allocations: 54.31 kB / 0.5199 GB, free: 34.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002204/0.4243, allocations: 192.7 kB / 0.5201 GB, free: 34.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.62e-05/0.4243, allocations: 28.73 kB / 0.5201 GB, free: 34.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.265e-05/0.4244, allocations: 101.4 kB / 0.5202 GB, free: 34.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.4244, allocations: 26.05 kB / 0.5202 GB, free: 34.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.674e-05/0.4245, allocations: 19.56 kB / 0.5202 GB, free: 34.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.583e-05/0.4246, allocations: 332.3 kB / 0.5205 GB, free: 33.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.4246, allocations: 19.56 kB / 0.5206 GB, free: 33.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.244e-05/0.4247, allocations: 38.67 kB / 0.5206 GB, free: 33.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001274/0.4249, allocations: 58.84 kB / 0.5207 GB, free: 33.71 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.4249, allocations: 0 / 0.5207 GB, free: 33.71 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.4251, allocations: 106.7 kB / 0.5208 GB, free: 33.65 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.4251, allocations: 5.406 kB / 0.5208 GB, free: 33.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.4251, allocations: 7.969 kB / 0.5208 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/0.4251, allocations: 2.656 kB / 0.5208 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001177/0.4253, allocations: 14.5 kB / 0.5208 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.4253, allocations: 2.656 kB / 0.5208 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.4253, allocations: 4.125 kB / 0.5208 GB, free: 33.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.08e-05/0.4254, allocations: 2.625 kB / 0.5208 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 0.0001196/0.4255, allocations: 132.8 kB / 0.5209 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.404e-05/0.4255, allocations: 9.188 kB / 0.5209 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.4256, allocations: 22.17 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.4256, allocations: 3.938 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.4256, allocations: 2.812 kB / 0.521 GB, free: 33.5 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.4256, allocations: 3.938 kB / 0.521 GB, free: 33.49 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004818/0.4261, allocations: 398.2 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.4261, allocations: 3.062 kB / 0.5213 GB, free: 33.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.4262, allocations: 13.48 kB / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.4262, allocations: 0 / 0.5214 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.4262, allocations: 11.88 kB / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.4262, allocations: 384 / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4262, allocations: 0 / 0.5214 GB, free: 33.12 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005644/0.4268, allocations: 0.7798 MB / 0.5221 GB, free: 32.37 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.4268, allocations: 87.86 kB / 0.5222 GB, free: 32.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.635e-05/0.4269, allocations: 10.91 kB / 0.5222 GB, free: 32.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.759e-05/0.4269, allocations: 6.812 kB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.165e-05/0.427, allocations: 6.578 kB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.957e-05/0.427, allocations: 2.781 kB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001331/0.4272, allocations: 150.7 kB / 0.5224 GB, free: 32.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4272, allocations: 0 / 0.5224 GB, free: 32.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003792/0.4276, allocations: 28.47 kB / 0.5224 GB, free: 32.15 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.001377/0.4289, allocations: 473.8 kB / 0.5229 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002103/0.4292, allocations: 61.17 kB / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.4292, allocations: 0 / 0.5229 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.03e-05/0.4293, allocations: 31.56 kB / 0.523 GB, free: 31.87 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003808/0.4297, allocations: 29 kB / 0.523 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006681/0.4303, allocations: 378.7 kB / 0.5233 GB, free: 31.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002015/0.4306, allocations: 0.7041 MB / 0.524 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.401e-05/0.4306, allocations: 16.91 kB / 0.524 GB, free: 30.84 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.4307, allocations: 20.19 kB / 0.5241 GB, free: 30.83 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4307, allocations: 0 / 0.5241 GB, free: 30.83 MB / 378.7 MB Notification: Performance of Templates: time 0.004339/0.435, allocations: 1.693 MB / 0.5257 GB, free: 30.65 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test21/Test21.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches