Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, 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.36/1.36, 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.0011/0.0011, allocations: 97.7 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.4124/0.4124, allocations: 44.82 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 67.89 kB / 465.5 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4715, allocations: 62.02 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.003137/0.4747, allocations: 1.754 MB / 0.5169 GB, free: 36.53 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001512/0.4762, allocations: 1.007 MB / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.702e-05/0.4763, allocations: 0 / 0.5179 GB, free: 35.84 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003402/0.4767, allocations: 57.84 kB / 0.5179 GB, free: 35.83 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002441/0.4769, allocations: 90.2 kB / 0.518 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.4772, allocations: 85.27 kB / 0.5181 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.4774, allocations: 107.5 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.4774, allocations: 3.641 kB / 0.5182 GB, free: 35.7 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.638e-05/0.4775, allocations: 50.27 kB / 0.5182 GB, free: 35.67 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.557e-05/0.4776, allocations: 45.12 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.4776, allocations: 2.688 kB / 0.5183 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.913e-05/0.4777, allocations: 29.7 kB / 0.5183 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.849e-05/0.4778, allocations: 20.97 kB / 0.5183 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.341e-05/0.4779, allocations: 32.22 kB / 0.5184 GB, free: 35.61 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001694/0.478, allocations: 103.1 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.97e-06/0.478, allocations: 0 / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.478, allocations: 2.281 kB / 0.5185 GB, free: 35.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.509e-06/0.4781, allocations: 0 / 0.5185 GB, free: 35.57 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000519/0.4786, allocations: 413.6 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4786, allocations: 8.875 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.071e-05/0.4787, allocations: 11.66 kB / 0.5189 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00023/0.4789, allocations: 209.5 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.4789, allocations: 3.25 kB / 0.5191 GB, free: 34.94 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.479, allocations: 4.125 kB / 0.5191 GB, free: 34.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.4791, allocations: 54.55 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.4791, allocations: 0 / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4792, allocations: 4 kB / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.603e-06/0.4792, allocations: 0 / 0.5191 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.17e-05/0.4792, allocations: 15.86 kB / 0.5192 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001972/0.4794, allocations: 181.4 kB / 0.5193 GB, free: 34.69 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.4796, allocations: 45.95 kB / 0.5194 GB, free: 34.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.646e-05/0.4797, allocations: 28.83 kB / 0.5194 GB, free: 34.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.4797, allocations: 4 kB / 0.5194 GB, free: 34.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002312/0.4799, allocations: 72.22 kB / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.48, allocations: 0 / 0.5195 GB, free: 34.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003282/0.4803, allocations: 97.98 kB / 0.5196 GB, free: 34.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.329e-05/0.4803, allocations: 51.41 kB / 0.5196 GB, free: 34.45 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.4805, allocations: 194.1 kB / 0.5198 GB, free: 34.33 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/0.4805, allocations: 25.7 kB / 0.5198 GB, free: 34.3 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.278e-05/0.4806, allocations: 104.9 kB / 0.5199 GB, free: 34.2 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.4806, allocations: 18.66 kB / 0.5199 GB, free: 34.18 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.731e-05/0.4807, allocations: 26.56 kB / 0.52 GB, free: 34.16 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.031e-05/0.4807, allocations: 325.1 kB / 0.5203 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.789e-05/0.4808, allocations: 15.64 kB / 0.5203 GB, free: 33.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.015e-05/0.4809, allocations: 26.27 kB / 0.5203 GB, free: 33.81 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.259e-05/0.481, allocations: 49.03 kB / 0.5204 GB, free: 33.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.481, allocations: 0 / 0.5204 GB, free: 33.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001448/0.4811, allocations: 92.11 kB / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.4811, allocations: 5.625 kB / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4812, allocations: 0 / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4812, allocations: 3.25 kB / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.4813, allocations: 11.95 kB / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.4813, allocations: 0 / 0.5205 GB, free: 33.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.872e-05/0.4813, allocations: 10.88 kB / 0.5205 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.525e-06/0.4814, allocations: 2.688 kB / 0.5205 GB, free: 33.71 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 (7): * Single equations (assignments): 7 * 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 9.624e-05/0.4815, allocations: 129.4 kB / 0.5206 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.4815, allocations: 10.62 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.249e-05/0.4815, allocations: 16.84 kB / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.4815, allocations: 0 / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.4816, allocations: 3.328 kB / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.4816, allocations: 0 / 0.5206 GB, free: 33.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001276/0.4817, allocations: 189.8 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.4817, allocations: 2.688 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.794e-05/0.4817, allocations: 6.5 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4817, allocations: 0 / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.027e-05/0.4818, allocations: 2.594 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.4818, allocations: 0 / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.4818, allocations: 3.375 kB / 0.5208 GB, free: 33.36 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004142/0.4822, allocations: 0.6791 MB / 0.5215 GB, free: 32.68 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.506e-05/0.4822, allocations: 91.86 kB / 0.5216 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.4823, allocations: 2.844 kB / 0.5216 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.388e-05/0.4823, allocations: 3.375 kB / 0.5216 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.43e-05/0.4823, allocations: 2.812 kB / 0.5216 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.577e-05/0.4824, allocations: 6.531 kB / 0.5216 GB, free: 32.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.74e-05/0.4825, allocations: 154.3 kB / 0.5217 GB, free: 32.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.4825, allocations: 0 / 0.5217 GB, free: 32.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002958/0.4828, allocations: 17.03 kB / 0.5218 GB, free: 32.47 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.000888/0.4837, allocations: 421.4 kB / 0.5222 GB, free: 32.25 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001501/0.4838, allocations: 40.92 kB / 0.5222 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4838, allocations: 0 / 0.5222 GB, free: 32.24 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 5.869e-05/0.4839, allocations: 21 kB / 0.5222 GB, free: 32.23 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.4842, allocations: 27.77 kB / 0.5222 GB, free: 32.22 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005043/0.4847, allocations: 336.4 kB / 0.5226 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.4849, allocations: 0.6993 MB / 0.5233 GB, free: 31.24 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.032e-05/0.485, allocations: 13.52 kB / 0.5233 GB, free: 31.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.485, allocations: 23.38 kB / 0.5233 GB, free: 31.22 MB / 378.7 MB Notification: Performance of SimCode: time 2.21e-07/0.485, allocations: 0 / 0.5233 GB, free: 31.22 MB / 378.7 MB Notification: Performance of Templates: time 0.003979/0.489, allocations: 1.479 MB / 0.5247 GB, free: 31.05 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches