Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.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.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") translateModel(ModelicaTest.Tables.CombiTimeTable.Test84,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001294/0.001294, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001502/0.001502, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2091/0.2091, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001566/0.001566, allocations: 79.88 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.3002, allocations: 62.44 MB / 0.5317 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test84): time 0.003329/0.3035, allocations: 1.732 MB / 0.5334 GB, free: 12.46 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002603/0.3062, allocations: 1.625 MB / 0.535 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.161e-05/0.3063, allocations: 1.219 kB / 0.535 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002818/0.3066, allocations: 36.75 kB / 0.535 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004139/0.307, allocations: 100.8 kB / 0.5351 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.3073, allocations: 83.03 kB / 0.5352 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002228/0.3075, allocations: 101.6 kB / 0.5353 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3076, allocations: 14.84 kB / 0.5353 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3078, allocations: 49.98 kB / 0.5354 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002061/0.308, allocations: 50.89 kB / 0.5354 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.308, allocations: 4.125 kB / 0.5354 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002291/0.3082, allocations: 115 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.063e-05/0.3083, allocations: 17.42 kB / 0.5356 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.744e-05/0.3084, allocations: 32.06 kB / 0.5356 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.3087, allocations: 168.2 kB / 0.5358 GB, free: 10.71 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.3087, allocations: 4 kB / 0.5358 GB, free: 10.7 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3087, allocations: 1.344 kB / 0.5358 GB, free: 10.7 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.871e-05/0.3087, allocations: 0 / 0.5358 GB, free: 10.7 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.00063/0.3094, allocations: 430.6 kB / 0.5362 GB, free: 10.27 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.302e-05/0.3094, allocations: 9.25 kB / 0.5362 GB, free: 10.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.44e-05/0.3095, allocations: 9.688 kB / 0.5362 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003336/0.3098, allocations: 214.2 kB / 0.5364 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/0.3098, allocations: 5.438 kB / 0.5364 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.998e-05/0.3099, allocations: 6.875 kB / 0.5364 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.31, allocations: 69.36 kB / 0.5365 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.3101, allocations: 1.156 kB / 0.5365 GB, free: 9.957 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3101, allocations: 4 kB / 0.5365 GB, free: 9.953 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3101, allocations: 4.984 kB / 0.5365 GB, free: 9.949 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.443e-05/0.3102, allocations: 19.05 kB / 0.5365 GB, free: 9.941 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004005/0.3106, allocations: 285.5 kB / 0.5368 GB, free: 9.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001749/0.3108, allocations: 64.88 kB / 0.5368 GB, free: 9.582 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.456e-05/0.3108, allocations: 21.84 kB / 0.5369 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.181e-05/0.3109, allocations: 1.156 kB / 0.5369 GB, free: 9.566 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001526/0.311, allocations: 65.58 kB / 0.5369 GB, free: 9.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.964e-06/0.311, allocations: 4 kB / 0.5369 GB, free: 9.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005897/0.3116, allocations: 173.1 kB / 0.5371 GB, free: 9.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.3117, allocations: 82.48 kB / 0.5372 GB, free: 9.301 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.3119, allocations: 164.8 kB / 0.5373 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.418e-05/0.312, allocations: 30.73 kB / 0.5373 GB, free: 9.129 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.3121, allocations: 100.3 kB / 0.5374 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.153e-05/0.3121, allocations: 23.84 kB / 0.5375 GB, free: 9.012 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.3122, allocations: 24.8 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.3123, allocations: 325.5 kB / 0.5378 GB, free: 8.664 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.169e-05/0.3124, allocations: 19.09 kB / 0.5378 GB, free: 8.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001103/0.3125, allocations: 44.53 kB / 0.5379 GB, free: 8.617 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.3126, allocations: 59.98 kB / 0.5379 GB, free: 8.578 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.3126, allocations: 0 / 0.5379 GB, free: 8.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002066/0.3128, allocations: 103.8 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3128, allocations: 6.656 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.3128, allocations: 1.188 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3129, allocations: 1.094 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.217e-05/0.313, allocations: 13.97 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.313, allocations: 3.938 kB / 0.538 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.403e-05/0.313, allocations: 7.422 kB / 0.5381 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.313, allocations: 10.22 kB / 0.5381 GB, free: 8.496 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.0001006/0.3131, allocations: 124.8 kB / 0.5382 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.3132, allocations: 12.81 kB / 0.5382 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.382e-05/0.3132, allocations: 15.95 kB / 0.5382 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.005e-06/0.3133, allocations: 1.875 kB / 0.5382 GB, free: 8.352 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3133, allocations: 3.938 kB / 0.5382 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3133, allocations: 0 / 0.5382 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005011/0.3138, allocations: 396.5 kB / 0.5386 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3138, allocations: 0.9688 kB / 0.5386 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.3138, allocations: 15.41 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.3139, allocations: 1.25 kB / 0.5386 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.3139, allocations: 5.25 kB / 0.5386 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.3139, allocations: 5.391 kB / 0.5386 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3139, allocations: 1.094 kB / 0.5386 GB, free: 7.945 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002298/0.3141, allocations: 204 kB / 0.5388 GB, free: 7.77 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.705e-05/0.3142, allocations: 91.52 kB / 0.5389 GB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.868e-05/0.3142, allocations: 6.688 kB / 0.5389 GB, free: 7.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.517e-05/0.3143, allocations: 9.141 kB / 0.5389 GB, free: 7.652 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.111e-05/0.3144, allocations: 7.281 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.532e-05/0.3144, allocations: 4.406 kB / 0.5389 GB, free: 7.648 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001163/0.3145, allocations: 126.9 kB / 0.539 GB, free: 7.551 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3145, allocations: 0 / 0.539 GB, free: 7.551 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003218/0.3149, allocations: 46.05 kB / 0.5391 GB, free: 7.535 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.00128/0.3161, allocations: 0.5406 MB / 0.5396 GB, free: 7.258 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001981/0.3164, allocations: 58.53 kB / 0.5397 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3164, allocations: 0 / 0.5397 GB, free: 7.234 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.3165, allocations: 33.95 kB / 0.5397 GB, free: 7.219 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003457/0.3168, allocations: 25.2 kB / 0.5397 GB, free: 7.207 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000497/0.3173, allocations: 227.4 kB / 0.5399 GB, free: 7.004 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003138/0.3176, allocations: 0.7025 MB / 0.5406 GB, free: 6.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.052e-05/0.3177, allocations: 16.28 kB / 0.5407 GB, free: 6.285 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3177, allocations: 1.219 kB / 0.5407 GB, free: 6.285 MB / 398.1 MB Notification: Performance of Templates: time 0.005105/0.3228, allocations: 2.433 MB / 0.543 GB, free: 5.023 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test84/Test84.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test84.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches