Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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/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 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") translateModel(ModelicaTest.Tables.CombiTimeTable.Test39,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001213/0.001213, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001466/0.001466, allocations: 200.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.529/1.529, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2875/0.2875, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 75.88 kB / 481.4 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4962/0.4976, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.004736/0.5024, allocations: 1.699 MB / 0.5327 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002358/0.5047, allocations: 0.9949 MB / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001059/0.5049, allocations: 0 / 0.5337 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004361/0.5054, allocations: 71.61 kB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005155/0.5059, allocations: 113.3 kB / 0.5339 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004408/0.5064, allocations: 66.19 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002913/0.5067, allocations: 108 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.874e-05/0.5067, allocations: 8.531 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001524/0.5069, allocations: 50.62 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001413/0.5071, allocations: 44.39 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.378e-05/0.5071, allocations: 4.094 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.5072, allocations: 32.55 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.297e-05/0.5073, allocations: 14.56 kB / 0.5342 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.91e-05/0.5074, allocations: 38.81 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003238/0.5078, allocations: 101.1 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.5078, allocations: 1.219 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.5078, allocations: 0 / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.084e-06/0.5078, allocations: 0 / 0.5343 GB, free: 11.12 MB / 398.1 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.0007675/0.5086, allocations: 427.6 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.941e-05/0.5086, allocations: 9.125 kB / 0.5347 GB, free: 10.68 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.915e-05/0.5087, allocations: 13.47 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004182/0.5091, allocations: 212.9 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.5092, allocations: 1.469 kB / 0.5349 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.5092, allocations: 5.25 kB / 0.535 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.5094, allocations: 55.78 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.5094, allocations: 0 / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.5094, allocations: 1.031 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-06/0.5095, allocations: 0 / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.5096, allocations: 20.27 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003393/0.5099, allocations: 187.1 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002396/0.5102, allocations: 51.52 kB / 0.5353 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.265e-05/0.5103, allocations: 20.55 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.298e-05/0.5103, allocations: 1.438 kB / 0.5353 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002108/0.5105, allocations: 71.45 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 2.425e-06/0.5105, allocations: 1.375 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0004311/0.511, allocations: 98.67 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.273e-05/0.5111, allocations: 52.78 kB / 0.5355 GB, free: 9.902 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003186/0.5114, allocations: 192.1 kB / 0.5357 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.136e-05/0.5114, allocations: 31.08 kB / 0.5357 GB, free: 9.727 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.541e-05/0.5115, allocations: 96.27 kB / 0.5358 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.726e-05/0.5116, allocations: 22.64 kB / 0.5358 GB, free: 9.613 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.377e-05/0.5117, allocations: 19.22 kB / 0.5358 GB, free: 9.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.5119, allocations: 325.6 kB / 0.5361 GB, free: 9.27 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.512, allocations: 20.22 kB / 0.5362 GB, free: 9.258 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.5121, allocations: 27.28 kB / 0.5362 GB, free: 9.234 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000137/0.5122, allocations: 43.58 kB / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.5122, allocations: 0 / 0.5362 GB, free: 9.203 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002764/0.5125, allocations: 95.12 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.5126, allocations: 5.594 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5126, allocations: 1.469 kB / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.5126, allocations: 0 / 0.5363 GB, free: 9.133 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001171/0.5127, allocations: 13.52 kB / 0.5363 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.5128, allocations: 5.406 kB / 0.5363 GB, free: 9.125 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.593e-05/0.5128, allocations: 9.406 kB / 0.5364 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.5129, allocations: 2.375 kB / 0.5364 GB, free: 9.117 MB / 398.1 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 0.0001614/0.513, allocations: 125.9 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.626e-05/0.5131, allocations: 13.52 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.093e-05/0.5131, allocations: 13.56 kB / 0.5365 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.5132, allocations: 5.391 kB / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.5132, allocations: 0 / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.5132, allocations: 0 / 0.5365 GB, free: 8.969 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002505/0.5135, allocations: 189.3 kB / 0.5367 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5135, allocations: 4.969 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.5135, allocations: 3.281 kB / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.5135, allocations: 0 / 0.5367 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.684e-05/0.5135, allocations: 5.234 kB / 0.5367 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.5136, allocations: 5.156 kB / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.5136, allocations: 0 / 0.5367 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.5139, allocations: 110.1 kB / 0.5368 GB, free: 8.645 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.514, allocations: 83.38 kB / 0.5369 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.514, allocations: 1.156 kB / 0.5369 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.5141, allocations: 2.188 kB / 0.5369 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.743e-05/0.5141, allocations: 6.266 kB / 0.5369 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.97e-05/0.5142, allocations: 6.062 kB / 0.5369 GB, free: 8.539 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002373/0.5144, allocations: 151.5 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 5.61e-07/0.5144, allocations: 1.062 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004055/0.5148, allocations: 16.84 kB / 0.5371 GB, free: 8.426 MB / 398.1 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.001477/0.5163, allocations: 425.6 kB / 0.5375 GB, free: 8.191 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002267/0.5166, allocations: 39.92 kB / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5166, allocations: 0 / 0.5375 GB, free: 8.176 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.034e-05/0.5167, allocations: 26.92 kB / 0.5375 GB, free: 8.16 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.5171, allocations: 28.17 kB / 0.5376 GB, free: 8.148 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007278/0.5179, allocations: 194.9 kB / 0.5378 GB, free: 7.988 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004863/0.5184, allocations: 0.7001 MB / 0.5384 GB, free: 7.281 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001002/0.5185, allocations: 16.72 kB / 0.5385 GB, free: 7.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.367e-05/0.5186, allocations: 13.25 kB / 0.5385 GB, free: 7.27 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.5186, allocations: 5.062 kB / 0.5385 GB, free: 7.266 MB / 398.1 MB Notification: Performance of Templates: time 0.007274/0.5258, allocations: 1.513 MB / 0.5399 GB, free: 6.492 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches