Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.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.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") translateModel(ModelicaTest.Tables.CombiTimeTable.Test44,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001163/0.001163, allocations: 121.6 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.001323/0.001323, allocations: 199.9 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, 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.2369/0.2369, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 75.89 kB / 481.4 MB, free: 3.984 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4804, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test44): time 0.006937/0.4874, allocations: 1.738 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002888/0.4903, allocations: 1.018 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.4905, allocations: 1.375 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004172/0.491, allocations: 52.12 kB / 0.5338 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000451/0.4914, allocations: 95.03 kB / 0.5339 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002951/0.4917, allocations: 72.38 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003136/0.4921, allocations: 108.9 kB / 0.5341 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.4922, allocations: 10.88 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.4924, allocations: 48.19 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.4925, allocations: 34.75 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.4925, allocations: 3.562 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001465/0.4927, allocations: 39.23 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.77e-05/0.4927, allocations: 20.33 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.725e-05/0.4928, allocations: 43.53 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000433/0.4933, allocations: 127 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4933, allocations: 0 / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4933, allocations: 1.469 kB / 0.5344 GB, free: 11.03 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.4933, allocations: 0 / 0.5344 GB, free: 11.03 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.0007729/0.4941, allocations: 423.4 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.4942, allocations: 9.969 kB / 0.5348 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.779e-05/0.4942, allocations: 13.34 kB / 0.5348 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004659/0.4947, allocations: 217.2 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.771e-05/0.4948, allocations: 1.344 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.936e-05/0.4948, allocations: 7.531 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.495, allocations: 56.86 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.4951, allocations: 1.062 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.4951, allocations: 4 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.4951, allocations: 1.094 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.4952, allocations: 19.27 kB / 0.5351 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006218/0.4959, allocations: 291.3 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.4962, allocations: 53.53 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.075e-05/0.4963, allocations: 25.5 kB / 0.5355 GB, free: 9.922 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.152e-05/0.4963, allocations: 9.141 kB / 0.5355 GB, free: 9.914 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003574/0.4967, allocations: 60.98 kB / 0.5355 GB, free: 9.855 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 4.117e-06/0.4967, allocations: 5.125 kB / 0.5355 GB, free: 9.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007929/0.4975, allocations: 181.7 kB / 0.5357 GB, free: 9.742 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.4976, allocations: 53.75 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004034/0.498, allocations: 208.1 kB / 0.536 GB, free: 9.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.498, allocations: 26.95 kB / 0.536 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.4982, allocations: 105.4 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.4982, allocations: 26.39 kB / 0.5361 GB, free: 9.375 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.4983, allocations: 20.59 kB / 0.5361 GB, free: 9.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4984, allocations: 330.9 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.599e-05/0.4985, allocations: 23.05 kB / 0.5365 GB, free: 9.016 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000104/0.4987, allocations: 39.39 kB / 0.5365 GB, free: 8.984 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.4989, allocations: 63.33 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4989, allocations: 0 / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003402/0.4992, allocations: 108.1 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.4993, allocations: 5.688 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.4993, allocations: 0 / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.4993, allocations: 1 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000147/0.4995, allocations: 16.98 kB / 0.5367 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.4995, allocations: 5.219 kB / 0.5367 GB, free: 8.863 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.536e-05/0.4996, allocations: 6.469 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.4996, allocations: 2.844 kB / 0.5367 GB, free: 8.859 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.0001668/0.4998, allocations: 132.4 kB / 0.5368 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.4998, allocations: 9.094 kB / 0.5368 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.4999, allocations: 14.75 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.4999, allocations: 5.391 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.216e-06/0.4999, allocations: 1.062 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.5, allocations: 3.938 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007076/0.5007, allocations: 403.3 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/0.5007, allocations: 1.219 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.5008, allocations: 11.36 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5008, allocations: 0.9688 kB / 0.5373 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.145e-05/0.5008, allocations: 9.094 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.5008, allocations: 1.094 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.5008, allocations: 1.094 kB / 0.5373 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005112/0.5014, allocations: 204.9 kB / 0.5375 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.877e-05/0.5015, allocations: 92.22 kB / 0.5376 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.37e-05/0.5015, allocations: 9.25 kB / 0.5376 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001304/0.5017, allocations: 6.172 kB / 0.5376 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.506e-05/0.5017, allocations: 7.156 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/0.5018, allocations: 4.281 kB / 0.5376 GB, free: 8.004 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002966/0.5021, allocations: 170.3 kB / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.5021, allocations: 0 / 0.5377 GB, free: 7.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004559/0.5026, allocations: 20.78 kB / 0.5378 GB, free: 7.879 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.002147/0.5047, allocations: 457.4 kB / 0.5382 GB, free: 7.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000391/0.5052, allocations: 70.25 kB / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5052, allocations: 0 / 0.5383 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001431/0.5053, allocations: 22.16 kB / 0.5383 GB, free: 7.609 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006407/0.506, allocations: 32.02 kB / 0.5383 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.507, allocations: 237 kB / 0.5385 GB, free: 7.41 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008775/0.5079, allocations: 0.7155 MB / 0.5392 GB, free: 6.691 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001074/0.508, allocations: 18.08 kB / 0.5393 GB, free: 6.676 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.864e-05/0.5081, allocations: 15.44 kB / 0.5393 GB, free: 6.672 MB / 398.1 MB Notification: Performance of SimCode: time 6.11e-07/0.5082, allocations: 0 / 0.5393 GB, free: 6.672 MB / 398.1 MB Notification: Performance of Templates: time 0.01105/0.5192, allocations: 1.746 MB / 0.541 GB, free: 5.789 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test44/Test44.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test44.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches