Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001067/0.001067, allocations: 113 kB / 18.46 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001079/0.001079, allocations: 208.9 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.546/1.546, allocations: 227.4 MB / 247.6 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.2455/0.2455, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 83.88 kB / 482.1 MB, free: 3.969 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4088/0.4101, allocations: 62.43 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.003709/0.4139, allocations: 1.725 MB / 0.5334 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.4159, allocations: 1.018 MB / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001227/0.416, allocations: 0 / 0.5344 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.4164, allocations: 53.5 kB / 0.5345 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.4168, allocations: 96.47 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.417, allocations: 78.91 kB / 0.5346 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000179/0.4172, allocations: 101 kB / 0.5347 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.4173, allocations: 10.86 kB / 0.5348 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/0.4174, allocations: 44.28 kB / 0.5348 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.273e-05/0.4175, allocations: 38.72 kB / 0.5348 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.859e-05/0.4176, allocations: 8.125 kB / 0.5348 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.82e-05/0.4177, allocations: 39.48 kB / 0.5349 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.442e-05/0.4177, allocations: 26.78 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.623e-05/0.4178, allocations: 33.38 kB / 0.5349 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002176/0.418, allocations: 122 kB / 0.535 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.418, allocations: 5.375 kB / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.418, allocations: 0 / 0.5351 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.4181, allocations: 0 / 0.5351 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.0005931/0.4187, allocations: 420.4 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.4187, allocations: 13.62 kB / 0.5355 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.4188, allocations: 14.25 kB / 0.5355 GB, free: 10.62 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/0.4191, allocations: 216.5 kB / 0.5357 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.4191, allocations: 5.734 kB / 0.5357 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.121e-05/0.4191, allocations: 13.5 kB / 0.5357 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000143/0.4193, allocations: 50.05 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.4193, allocations: 1.375 kB / 0.5358 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.4193, allocations: 7.984 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.4193, allocations: 1.375 kB / 0.5358 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.724e-05/0.4194, allocations: 26.64 kB / 0.5358 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.4198, allocations: 282.7 kB / 0.5361 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.42, allocations: 58.08 kB / 0.5361 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.463e-05/0.4201, allocations: 17.64 kB / 0.5361 GB, free: 9.945 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4201, allocations: 9.031 kB / 0.5361 GB, free: 9.938 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.4202, allocations: 65.7 kB / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 3.597e-06/0.4202, allocations: 0 / 0.5362 GB, free: 9.875 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005788/0.4208, allocations: 177.8 kB / 0.5364 GB, free: 9.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.4209, allocations: 53.53 kB / 0.5364 GB, free: 9.707 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.4211, allocations: 207.6 kB / 0.5366 GB, free: 9.559 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.4211, allocations: 30.83 kB / 0.5367 GB, free: 9.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.101e-05/0.4212, allocations: 105.8 kB / 0.5368 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.055e-05/0.4212, allocations: 26.95 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.4213, allocations: 28.58 kB / 0.5368 GB, free: 9.371 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.4214, allocations: 330.3 kB / 0.5371 GB, free: 9.043 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.4215, allocations: 19.41 kB / 0.5371 GB, free: 9.035 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.876e-05/0.4216, allocations: 36.08 kB / 0.5372 GB, free: 9.008 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.4217, allocations: 62.14 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.4217, allocations: 1.062 kB / 0.5372 GB, free: 8.965 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.4219, allocations: 107 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.4219, allocations: 5.688 kB / 0.5373 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.4219, allocations: 5.109 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.4219, allocations: 1.219 kB / 0.5373 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.365e-05/0.422, allocations: 12.56 kB / 0.5374 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.4221, allocations: 1.25 kB / 0.5374 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.4221, allocations: 10.22 kB / 0.5374 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.4221, allocations: 10.3 kB / 0.5374 GB, free: 8.875 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.0001021/0.4222, allocations: 120.2 kB / 0.5375 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.4223, allocations: 9.375 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.171e-05/0.4223, allocations: 20.02 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.4223, allocations: 1 kB / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.4223, allocations: 0 / 0.5375 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.4224, allocations: 4.844 kB / 0.5375 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004674/0.4228, allocations: 411.4 kB / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4228, allocations: 0 / 0.5379 GB, free: 8.332 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.481e-05/0.4229, allocations: 12.12 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4229, allocations: 0.9688 kB / 0.5379 GB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.294e-05/0.4229, allocations: 6.219 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4229, allocations: 0 / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.4229, allocations: 1.156 kB / 0.5379 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000244/0.4232, allocations: 208.8 kB / 0.5381 GB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.44e-05/0.4232, allocations: 92.38 kB / 0.5382 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.4233, allocations: 5.25 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.711e-05/0.4233, allocations: 2.625 kB / 0.5382 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.4234, allocations: 14.58 kB / 0.5382 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.663e-05/0.4234, allocations: 4.375 kB / 0.5383 GB, free: 8.023 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001484/0.4236, allocations: 158.1 kB / 0.5384 GB, free: 7.914 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4236, allocations: 0 / 0.5384 GB, free: 7.914 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000252/0.4238, allocations: 24.88 kB / 0.5384 GB, free: 7.906 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.001066/0.4249, allocations: 458.9 kB / 0.5389 GB, free: 7.676 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001886/0.4251, allocations: 66.58 kB / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.4251, allocations: 0 / 0.5389 GB, free: 7.645 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.762e-05/0.4252, allocations: 29.8 kB / 0.539 GB, free: 7.633 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003321/0.4255, allocations: 24.53 kB / 0.539 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006235/0.4262, allocations: 269.5 kB / 0.5392 GB, free: 7.402 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.4266, allocations: 0.7179 MB / 0.5399 GB, free: 6.68 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.502e-05/0.4267, allocations: 20.03 kB / 0.54 GB, free: 6.672 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4267, allocations: 0 / 0.54 GB, free: 6.672 MB / 398.1 MB Notification: Performance of Templates: time 0.004989/0.4317, allocations: 1.982 MB / 0.5419 GB, free: 5.648 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches