Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") translateModel(ModelicaTest.Tables.CombiTimeTable.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001626/0.001625, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002099/0.002099, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, 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.2614/0.2614, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 75.88 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4953/0.4967, allocations: 62.43 MB / 0.5311 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003353/0.5001, allocations: 1.736 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001801/0.5019, allocations: 1.016 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.327e-05/0.502, allocations: 1.375 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.5024, allocations: 40.14 kB / 0.5338 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003278/0.5027, allocations: 103 kB / 0.5339 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.5029, allocations: 74.92 kB / 0.534 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001991/0.5032, allocations: 110.3 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.5033, allocations: 6.875 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.305e-05/0.5034, allocations: 42.91 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.987e-05/0.5035, allocations: 33.47 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.5035, allocations: 8.125 kB / 0.5342 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001048/0.5036, allocations: 40.86 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.618e-05/0.5037, allocations: 17.42 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.978e-05/0.5037, allocations: 41.3 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002409/0.504, allocations: 121.2 kB / 0.5344 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.504, allocations: 5.375 kB / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.504, allocations: 0 / 0.5344 GB, free: 11.04 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.013e-05/0.504, allocations: 0 / 0.5344 GB, free: 11.04 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006061/0.5046, allocations: 416.9 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/0.5047, allocations: 9.406 kB / 0.5348 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.974e-05/0.5047, allocations: 14.02 kB / 0.5348 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003368/0.5051, allocations: 217 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.5051, allocations: 1.531 kB / 0.535 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.5052, allocations: 14.33 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.5053, allocations: 53.89 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.5054, allocations: 1.312 kB / 0.5351 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.571e-05/0.5054, allocations: 3.984 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.5054, allocations: 1.125 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.5055, allocations: 22.2 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.5059, allocations: 295.4 kB / 0.5354 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001834/0.5061, allocations: 53.22 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.138e-05/0.5062, allocations: 29.28 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.5062, allocations: 1.031 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.5064, allocations: 70.02 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.342e-06/0.5064, allocations: 3.938 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006121/0.507, allocations: 177.6 kB / 0.5357 GB, free: 9.746 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.5071, allocations: 52.56 kB / 0.5358 GB, free: 9.684 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002393/0.5073, allocations: 197.1 kB / 0.5359 GB, free: 9.539 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5073, allocations: 26.8 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.093e-05/0.5074, allocations: 105.6 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.517e-05/0.5075, allocations: 27.16 kB / 0.5361 GB, free: 9.383 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.5075, allocations: 20.12 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5077, allocations: 331.1 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.5078, allocations: 22.23 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.949e-05/0.5078, allocations: 35.33 kB / 0.5365 GB, free: 8.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.508, allocations: 63.42 kB / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.508, allocations: 0 / 0.5365 GB, free: 8.953 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002528/0.5083, allocations: 107.9 kB / 0.5366 GB, free: 8.883 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.5083, allocations: 8.188 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.5083, allocations: 0 / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.5083, allocations: 0.9688 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.5084, allocations: 17.2 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.5084, allocations: 1.312 kB / 0.5367 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.957e-05/0.5085, allocations: 5.531 kB / 0.5367 GB, free: 8.875 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.5085, allocations: 7.844 kB / 0.5367 GB, free: 8.871 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 (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.0001338/0.5087, allocations: 126.6 kB / 0.5368 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.003e-05/0.5087, allocations: 17.11 kB / 0.5368 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.04e-05/0.5088, allocations: 14.34 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.5088, allocations: 1.219 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.762e-06/0.5088, allocations: 1.438 kB / 0.5368 GB, free: 8.719 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.5088, allocations: 3.938 kB / 0.5368 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005566/0.5093, allocations: 398.4 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.5094, allocations: 0 / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.528e-05/0.5094, allocations: 8.469 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.338e-06/0.5094, allocations: 1.25 kB / 0.5372 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/0.5094, allocations: 5.094 kB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.5094, allocations: 1.625 kB / 0.5372 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5095, allocations: 5.406 kB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000301/0.5098, allocations: 211.9 kB / 0.5374 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.5098, allocations: 92.3 kB / 0.5375 GB, free: 8.031 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.5099, allocations: 5 kB / 0.5375 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.86e-05/0.5099, allocations: 6.406 kB / 0.5375 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.382e-05/0.51, allocations: 7.922 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.708e-05/0.51, allocations: 2.75 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001534/0.5102, allocations: 153 kB / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5102, allocations: 0 / 0.5377 GB, free: 7.91 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002737/0.5105, allocations: 25.06 kB / 0.5377 GB, free: 7.902 MB / 398.1 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.001185/0.5117, allocations: 455.7 kB / 0.5382 GB, free: 7.672 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002227/0.5119, allocations: 62.47 kB / 0.5382 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.5119, allocations: 4.062 kB / 0.5382 GB, free: 7.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.116e-05/0.512, allocations: 38.31 kB / 0.5383 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003922/0.5124, allocations: 26.66 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006014/0.513, allocations: 236.5 kB / 0.5385 GB, free: 7.422 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.5134, allocations: 0.7059 MB / 0.5392 GB, free: 6.711 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.923e-05/0.5135, allocations: 18.47 kB / 0.5392 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.703e-05/0.5136, allocations: 15.03 kB / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.5136, allocations: 0 / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of Templates: time 0.005843/0.5194, allocations: 1.732 MB / 0.5409 GB, free: 5.816 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches