Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001396/0.001396, allocations: 122.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001676/0.001676, allocations: 202 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.426/1.426, allocations: 227.4 MB / 246.9 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3793/0.3793, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 75.89 kB / 481.4 MB, free: 3.996 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4153/0.4168, allocations: 62.43 MB / 0.5311 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003047/0.4199, allocations: 1.734 MB / 0.5328 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.4216, allocations: 1.022 MB / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.479e-05/0.4217, allocations: 0 / 0.5338 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002962/0.422, allocations: 38.78 kB / 0.5338 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003522/0.4224, allocations: 93.72 kB / 0.5339 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002205/0.4226, allocations: 76.3 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.4228, allocations: 104.9 kB / 0.5341 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001003/0.4229, allocations: 14.86 kB / 0.5341 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.423, allocations: 44.28 kB / 0.5341 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.833e-05/0.4231, allocations: 33.36 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.837e-05/0.4231, allocations: 4.125 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.4233, allocations: 39.48 kB / 0.5342 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.955e-05/0.4233, allocations: 26.78 kB / 0.5342 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.426e-05/0.4234, allocations: 39.97 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.4236, allocations: 116.7 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.4236, allocations: 4 kB / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.4236, allocations: 0 / 0.5344 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.4236, allocations: 0 / 0.5344 GB, free: 11.06 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.0005744/0.4242, allocations: 409.7 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.217e-05/0.4242, allocations: 9.625 kB / 0.5348 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.293e-05/0.4243, allocations: 18.19 kB / 0.5348 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/0.4246, allocations: 216.2 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.4246, allocations: 1.594 kB / 0.535 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.544e-05/0.4246, allocations: 5.906 kB / 0.535 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000147/0.4248, allocations: 57.55 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.4248, allocations: 1.406 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4248, allocations: 0 / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.4249, allocations: 1.375 kB / 0.5351 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.239e-05/0.4249, allocations: 21.7 kB / 0.5351 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000383/0.4253, allocations: 282.9 kB / 0.5353 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001737/0.4255, allocations: 65.8 kB / 0.5354 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.233e-05/0.4256, allocations: 17.42 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.4256, allocations: 1.25 kB / 0.5354 GB, free: 9.965 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001439/0.4258, allocations: 68.86 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.4258, allocations: 0 / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005724/0.4264, allocations: 181.7 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.829e-05/0.4264, allocations: 52.66 kB / 0.5357 GB, free: 9.727 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001751/0.4266, allocations: 186.3 kB / 0.5359 GB, free: 9.582 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.4266, allocations: 30.89 kB / 0.5359 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.728e-05/0.4267, allocations: 104.7 kB / 0.536 GB, free: 9.445 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.4267, allocations: 27.14 kB / 0.536 GB, free: 9.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.4268, allocations: 24.7 kB / 0.5361 GB, free: 9.398 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.4269, allocations: 326 kB / 0.5364 GB, free: 9.074 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.638e-05/0.427, allocations: 23.03 kB / 0.5364 GB, free: 9.062 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.21e-05/0.427, allocations: 35.36 kB / 0.5364 GB, free: 9.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001271/0.4272, allocations: 63.14 kB / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.4272, allocations: 0 / 0.5365 GB, free: 8.992 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001776/0.4274, allocations: 91.34 kB / 0.5366 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.4274, allocations: 12.23 kB / 0.5366 GB, free: 8.934 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.4274, allocations: 4.031 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.4274, allocations: 1.125 kB / 0.5366 GB, free: 8.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.936e-05/0.4275, allocations: 17.75 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.4275, allocations: 1.094 kB / 0.5366 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.083e-05/0.4276, allocations: 14.27 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.564e-06/0.4276, allocations: 2.375 kB / 0.5366 GB, free: 8.914 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.396e-05/0.4277, allocations: 118.3 kB / 0.5367 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.4277, allocations: 13.22 kB / 0.5368 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.859e-05/0.4278, allocations: 18.23 kB / 0.5368 GB, free: 8.77 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4278, allocations: 8.969 kB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.4278, allocations: 0 / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.4278, allocations: 4.875 kB / 0.5368 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004376/0.4283, allocations: 393.5 kB / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.4283, allocations: 0 / 0.5372 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.559e-05/0.4283, allocations: 11.58 kB / 0.5372 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.4283, allocations: 4.938 kB / 0.5372 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4283, allocations: 14 kB / 0.5372 GB, free: 8.355 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.4283, allocations: 5.25 kB / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4284, allocations: 0 / 0.5372 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002211/0.4286, allocations: 192.5 kB / 0.5374 GB, free: 8.188 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.898e-05/0.4287, allocations: 92.97 kB / 0.5375 GB, free: 8.082 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.4287, allocations: 9.469 kB / 0.5375 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.838e-05/0.4288, allocations: 5.453 kB / 0.5375 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.4288, allocations: 7.562 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.693e-05/0.4288, allocations: 3.625 kB / 0.5375 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001128/0.4289, allocations: 144.2 kB / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.429, allocations: 0 / 0.5376 GB, free: 7.961 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002509/0.4292, allocations: 20.97 kB / 0.5377 GB, free: 7.957 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.001016/0.4302, allocations: 468.9 kB / 0.5381 GB, free: 7.715 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001807/0.4304, allocations: 57.84 kB / 0.5382 GB, free: 7.691 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.4304, allocations: 4 kB / 0.5382 GB, free: 7.688 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.89e-05/0.4305, allocations: 29.11 kB / 0.5382 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.4309, allocations: 30.34 kB / 0.5382 GB, free: 7.664 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004902/0.4314, allocations: 221.4 kB / 0.5384 GB, free: 7.477 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003076/0.4317, allocations: 0.7005 MB / 0.5391 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.34e-05/0.4317, allocations: 22.98 kB / 0.5391 GB, free: 6.758 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.694e-05/0.4318, allocations: 15.06 kB / 0.5391 GB, free: 6.754 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4318, allocations: 0 / 0.5391 GB, free: 6.754 MB / 398.1 MB Notification: Performance of Templates: time 0.005596/0.4374, allocations: 1.749 MB / 0.5409 GB, free: 5.867 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches