Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001179/0.001179, allocations: 118.1 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001611/0.001611, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.565/1.565, 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.2173/0.2173, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 75.88 kB / 481.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4309/0.4323, allocations: 62.44 MB / 0.5311 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003154/0.4355, allocations: 1.738 MB / 0.5328 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.4372, allocations: 1.019 MB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.998e-05/0.4373, allocations: 1.375 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000317/0.4377, allocations: 57.62 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000326/0.438, allocations: 101.8 kB / 0.5339 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.4382, allocations: 80.28 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000198/0.4384, allocations: 104.9 kB / 0.5341 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4386, allocations: 10.88 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.4387, allocations: 44.28 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.213e-05/0.4388, allocations: 33.41 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.4388, allocations: 4.125 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.4389, allocations: 39.48 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.822e-05/0.439, allocations: 30.91 kB / 0.5342 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.41e-05/0.439, allocations: 45.19 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002351/0.4393, allocations: 136.9 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4393, allocations: 1.375 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.273e-06/0.4393, allocations: 3.938 kB / 0.5344 GB, free: 11 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.711e-06/0.4393, allocations: 0 / 0.5344 GB, free: 11 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.0008755/0.4402, allocations: 449.7 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.4403, allocations: 9.625 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.605e-05/0.4403, allocations: 15.62 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003214/0.4406, allocations: 219.6 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.4407, allocations: 9.5 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.4407, allocations: 6.656 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002425/0.441, allocations: 54.3 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.441, allocations: 7.938 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.441, allocations: 1.156 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.441, allocations: 0 / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.413e-05/0.4411, allocations: 18.77 kB / 0.5352 GB, free: 10.23 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004322/0.4416, allocations: 295.6 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.4417, allocations: 61.64 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.4418, allocations: 22.58 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4418, allocations: 1.156 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.442, allocations: 72.73 kB / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.212e-06/0.442, allocations: 0 / 0.5356 GB, free: 9.785 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005662/0.4426, allocations: 176.7 kB / 0.5358 GB, free: 9.684 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.4426, allocations: 52.5 kB / 0.5358 GB, free: 9.621 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.4429, allocations: 280.4 kB / 0.5361 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.353e-05/0.443, allocations: 26.92 kB / 0.5361 GB, free: 9.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.4432, allocations: 114.8 kB / 0.5362 GB, free: 9.297 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.314e-05/0.4432, allocations: 19.03 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.138e-05/0.4433, allocations: 28.48 kB / 0.5363 GB, free: 9.254 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.4435, allocations: 332.6 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.837e-05/0.4436, allocations: 22.7 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.956e-05/0.4437, allocations: 39.61 kB / 0.5367 GB, free: 8.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000146/0.4438, allocations: 58.62 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4438, allocations: 1.062 kB / 0.5367 GB, free: 8.844 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002165/0.444, allocations: 108.4 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/0.4441, allocations: 6.094 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.4441, allocations: 0 / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.758e-05/0.4441, allocations: 0.9375 kB / 0.5368 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.4442, allocations: 21.2 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4442, allocations: 1.25 kB / 0.5368 GB, free: 8.766 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.459e-05/0.4443, allocations: 10.19 kB / 0.5369 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/0.4443, allocations: 7.219 kB / 0.5369 GB, free: 8.754 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.0001427/0.4445, allocations: 141.3 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.963e-05/0.4445, allocations: 14.47 kB / 0.537 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.4446, allocations: 22.05 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4446, allocations: 0 / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4446, allocations: 1.094 kB / 0.537 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.4446, allocations: 7.938 kB / 0.537 GB, free: 8.59 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005256/0.4451, allocations: 416.1 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.4452, allocations: 0.9062 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.588e-05/0.4452, allocations: 8.5 kB / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.4452, allocations: 0 / 0.5374 GB, free: 8.191 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.4452, allocations: 10.27 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4452, allocations: 1.375 kB / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.4452, allocations: 0 / 0.5375 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003847/0.4456, allocations: 210.4 kB / 0.5377 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.708e-05/0.4457, allocations: 85.05 kB / 0.5377 GB, free: 7.906 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.242e-05/0.4458, allocations: 9.219 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.363e-05/0.4458, allocations: 2.594 kB / 0.5378 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.011e-05/0.4459, allocations: 6.547 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.4459, allocations: 4.031 kB / 0.5378 GB, free: 7.895 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002382/0.4462, allocations: 210.1 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4462, allocations: 1.469 kB / 0.538 GB, free: 7.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.4465, allocations: 16.91 kB / 0.538 GB, free: 7.762 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.001437/0.4479, allocations: 468.7 kB / 0.5384 GB, free: 7.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002656/0.4482, allocations: 62 kB / 0.5385 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4482, allocations: 1.125 kB / 0.5385 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.4483, allocations: 28.77 kB / 0.5385 GB, free: 7.48 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.4487, allocations: 32.69 kB / 0.5385 GB, free: 7.465 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007235/0.4495, allocations: 280.2 kB / 0.5388 GB, free: 7.266 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004391/0.4499, allocations: 0.7208 MB / 0.5395 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.589e-05/0.45, allocations: 18.73 kB / 0.5395 GB, free: 6.539 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.513e-05/0.45, allocations: 19.05 kB / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.45, allocations: 1.094 kB / 0.5396 GB, free: 6.527 MB / 398.1 MB Notification: Performance of Templates: time 0.006319/0.4564, allocations: 1.774 MB / 0.5413 GB, free: 5.633 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches