Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") translateModel(ModelicaTest.Tables.CombiTimeTable.Test59,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001561/0.001561, 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.001864/0.001864, 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.608/1.608, 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.3067/0.3067, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001361, allocations: 75.88 kB / 481.4 MB, free: 4.004 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4171/0.4184, allocations: 62.43 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003372/0.4219, allocations: 1.737 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003127/0.425, allocations: 1.622 MB / 0.5343 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.4251, allocations: 1.406 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004297/0.4256, allocations: 36.03 kB / 0.5344 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004546/0.4261, allocations: 103.8 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.4264, allocations: 79.28 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002725/0.4267, allocations: 106.1 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.4268, allocations: 7.062 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.427, allocations: 49.45 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000221/0.4272, allocations: 46 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.4272, allocations: 4.5 kB / 0.5348 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002819/0.4275, allocations: 119 kB / 0.5349 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.738e-05/0.4276, allocations: 24.16 kB / 0.5349 GB, free: 10.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.785e-05/0.4277, allocations: 32.05 kB / 0.5349 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.4281, allocations: 167.2 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/0.4281, allocations: 1.375 kB / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.4281, allocations: 0 / 0.5351 GB, free: 10.49 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.348e-06/0.4281, allocations: 0 / 0.5351 GB, free: 10.49 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.0008213/0.429, allocations: 438 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.116e-05/0.429, allocations: 9.625 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.845e-05/0.4291, allocations: 20.97 kB / 0.5355 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004044/0.4295, allocations: 210.9 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.147e-05/0.4295, allocations: 9.312 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.363e-05/0.4295, allocations: 2.75 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.4298, allocations: 66.52 kB / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.4298, allocations: 0 / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.4298, allocations: 0 / 0.5358 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.4298, allocations: 5.312 kB / 0.5358 GB, free: 9.727 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.023e-05/0.4299, allocations: 22.98 kB / 0.5358 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005346/0.4305, allocations: 288.9 kB / 0.5361 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002016/0.4307, allocations: 50.03 kB / 0.5362 GB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.791e-05/0.4308, allocations: 26 kB / 0.5362 GB, free: 9.348 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.585e-05/0.4308, allocations: 5.281 kB / 0.5362 GB, free: 9.344 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000209/0.431, allocations: 64.42 kB / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.431, allocations: 0 / 0.5363 GB, free: 9.281 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0007908/0.4318, allocations: 177.7 kB / 0.5364 GB, free: 9.176 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.4319, allocations: 82.11 kB / 0.5365 GB, free: 9.078 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002377/0.4322, allocations: 163.2 kB / 0.5367 GB, free: 8.945 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.4322, allocations: 34.61 kB / 0.5367 GB, free: 8.906 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.585e-05/0.4323, allocations: 100.4 kB / 0.5368 GB, free: 8.809 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4e-05/0.4323, allocations: 31.23 kB / 0.5368 GB, free: 8.781 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.4324, allocations: 29.33 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001414/0.4325, allocations: 321.4 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.89e-05/0.4326, allocations: 15.06 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.46e-05/0.4327, allocations: 45.34 kB / 0.5372 GB, free: 8.391 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.4328, allocations: 62.7 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.4328, allocations: 1.375 kB / 0.5373 GB, free: 8.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002229/0.433, allocations: 103.3 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.4331, allocations: 5.438 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4331, allocations: 0 / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.179e-05/0.4331, allocations: 5.25 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.4332, allocations: 12.81 kB / 0.5374 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.13e-05/0.4332, allocations: 4.906 kB / 0.5374 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.347e-05/0.4333, allocations: 10.2 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4333, allocations: 3.469 kB / 0.5374 GB, free: 8.266 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 9.987e-05/0.4334, allocations: 120.4 kB / 0.5375 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.4335, allocations: 13.3 kB / 0.5375 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.728e-05/0.4335, allocations: 16.02 kB / 0.5376 GB, free: 8.125 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.4335, allocations: 5.094 kB / 0.5376 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.4335, allocations: 3.938 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.4335, allocations: 1.25 kB / 0.5376 GB, free: 8.117 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000627/0.4342, allocations: 400.2 kB / 0.5379 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.4342, allocations: 3.938 kB / 0.5379 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.633e-05/0.4342, allocations: 12.03 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.4342, allocations: 0.9375 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.4343, allocations: 2.5 kB / 0.538 GB, free: 7.719 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4343, allocations: 3.984 kB / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.806e-06/0.4343, allocations: 1.312 kB / 0.538 GB, free: 7.715 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003468/0.4346, allocations: 204.1 kB / 0.5382 GB, free: 7.539 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.268e-05/0.4347, allocations: 88.22 kB / 0.5382 GB, free: 7.438 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.715e-05/0.4348, allocations: 5.594 kB / 0.5383 GB, free: 7.434 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.038e-05/0.4348, allocations: 10.08 kB / 0.5383 GB, free: 7.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.07e-05/0.4349, allocations: 6.906 kB / 0.5383 GB, free: 7.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.4349, allocations: 4.094 kB / 0.5383 GB, free: 7.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002013/0.4351, allocations: 127.7 kB / 0.5384 GB, free: 7.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4352, allocations: 0 / 0.5384 GB, free: 7.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.4356, allocations: 53.73 kB / 0.5384 GB, free: 7.301 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.001569/0.4371, allocations: 0.5365 MB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002191/0.4374, allocations: 63 kB / 0.539 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.4374, allocations: 4.062 kB / 0.539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.852e-05/0.4375, allocations: 25.27 kB / 0.5391 GB, free: 6.984 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003592/0.4378, allocations: 32.95 kB / 0.5391 GB, free: 6.969 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000504/0.4383, allocations: 203 kB / 0.5393 GB, free: 6.793 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.4387, allocations: 0.6981 MB / 0.54 GB, free: 6.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.213e-05/0.4388, allocations: 15.45 kB / 0.54 GB, free: 6.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.769e-05/0.4388, allocations: 20.83 kB / 0.54 GB, free: 6.062 MB / 398.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4388, allocations: 1.031 kB / 0.54 GB, free: 6.062 MB / 398.1 MB Notification: Performance of Templates: time 0.006292/0.4451, allocations: 2.363 MB / 0.5423 GB, free: 4.852 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test59.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches