Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001609/0.001609, allocations: 117.7 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.00191/0.00191, allocations: 208.8 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.4/1.4, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.209/0.209, allocations: 46.1 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001409/0.001409, allocations: 76.09 kB / 482.1 MB, free: 3.965 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3083, allocations: 62.43 MB / 0.5318 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002979/0.3113, allocations: 1.752 MB / 0.5335 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.313, allocations: 1.031 MB / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.3131, allocations: 0 / 0.5345 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.3135, allocations: 107.3 kB / 0.5346 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002974/0.3138, allocations: 129.1 kB / 0.5347 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002023/0.314, allocations: 78.97 kB / 0.5348 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.3142, allocations: 132 kB / 0.5349 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3144, allocations: 16.17 kB / 0.5349 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.425e-05/0.3145, allocations: 60.52 kB / 0.535 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001031/0.3146, allocations: 62.19 kB / 0.535 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.3146, allocations: 8.125 kB / 0.535 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.3148, allocations: 67.83 kB / 0.5351 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.985e-05/0.3148, allocations: 30.86 kB / 0.5351 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.596e-05/0.3149, allocations: 46.67 kB / 0.5352 GB, free: 11 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002615/0.3152, allocations: 163.6 kB / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3152, allocations: 0 / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3152, allocations: 0 / 0.5353 GB, free: 10.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.072e-06/0.3152, allocations: 0 / 0.5353 GB, free: 10.9 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006218/0.3158, allocations: 449.5 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.806e-05/0.3159, allocations: 8.844 kB / 0.5358 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.3159, allocations: 23.47 kB / 0.5358 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003345/0.3163, allocations: 225.7 kB / 0.536 GB, free: 10.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.3163, allocations: 14.42 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.3163, allocations: 7.344 kB / 0.536 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001671/0.3165, allocations: 66.81 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3165, allocations: 1.031 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.272e-05/0.3165, allocations: 0.9688 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3165, allocations: 1.125 kB / 0.5361 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001114/0.3167, allocations: 36.81 kB / 0.5361 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004696/0.3172, allocations: 318.9 kB / 0.5364 GB, free: 9.777 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.3174, allocations: 72.89 kB / 0.5365 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.034e-05/0.3175, allocations: 25.09 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3175, allocations: 0.8438 kB / 0.5365 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.3178, allocations: 94.11 kB / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.372e-06/0.3178, allocations: 0 / 0.5366 GB, free: 9.629 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0008891/0.3187, allocations: 271.6 kB / 0.5369 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.3187, allocations: 57.56 kB / 0.5369 GB, free: 9.418 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002536/0.319, allocations: 254.9 kB / 0.5372 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.319, allocations: 30.83 kB / 0.5372 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.3191, allocations: 115.1 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.117e-05/0.3191, allocations: 46.38 kB / 0.5374 GB, free: 9.066 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.324e-05/0.3192, allocations: 26.75 kB / 0.5374 GB, free: 9.043 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.3193, allocations: 332 kB / 0.5377 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001078/0.3194, allocations: 32.73 kB / 0.5377 GB, free: 8.699 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.27e-05/0.3195, allocations: 46.3 kB / 0.5378 GB, free: 8.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3197, allocations: 94.36 kB / 0.5379 GB, free: 8.609 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3197, allocations: 0 / 0.5379 GB, free: 8.609 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002829/0.32, allocations: 142.9 kB / 0.538 GB, free: 8.527 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.32, allocations: 8.281 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.32, allocations: 1.469 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.32, allocations: 1.438 kB / 0.538 GB, free: 8.523 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.368e-05/0.3201, allocations: 22.02 kB / 0.538 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.3201, allocations: 9.281 kB / 0.538 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.798e-05/0.3202, allocations: 6.438 kB / 0.538 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.3202, allocations: 8.156 kB / 0.5381 GB, free: 8.504 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 (14): * Single equations (assignments): 14 * 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.000118/0.3203, allocations: 137.1 kB / 0.5382 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.966e-05/0.3204, allocations: 15.16 kB / 0.5382 GB, free: 8.367 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.046e-05/0.3204, allocations: 26.61 kB / 0.5382 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.3204, allocations: 1.219 kB / 0.5382 GB, free: 8.348 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.3204, allocations: 3.938 kB / 0.5382 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.3205, allocations: 0 / 0.5382 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.321, allocations: 476 kB / 0.5387 GB, free: 7.914 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3211, allocations: 3.938 kB / 0.5387 GB, free: 7.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.981e-05/0.3211, allocations: 21.55 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.979e-06/0.3212, allocations: 2.375 kB / 0.5387 GB, free: 7.902 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.3212, allocations: 6.094 kB / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.3212, allocations: 1.062 kB / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.3212, allocations: 0.9062 kB / 0.5387 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002944/0.3215, allocations: 254.2 kB / 0.539 GB, free: 7.691 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.072e-05/0.3216, allocations: 89.61 kB / 0.539 GB, free: 7.59 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.351e-05/0.3216, allocations: 10.83 kB / 0.5391 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.516e-05/0.3217, allocations: 1.969 kB / 0.5391 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.353e-05/0.3217, allocations: 8.891 kB / 0.5391 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3218, allocations: 13.28 kB / 0.5391 GB, free: 7.57 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002122/0.322, allocations: 195.7 kB / 0.5393 GB, free: 7.445 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.322, allocations: 0.9062 kB / 0.5393 GB, free: 7.445 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000296/0.3223, allocations: 34.08 kB / 0.5393 GB, free: 7.434 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (12): * Single equations (assignments): 10 * 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.001227/0.3235, allocations: 0.4958 MB / 0.5398 GB, free: 7.184 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002316/0.3238, allocations: 90.62 kB / 0.5399 GB, free: 7.145 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.101e-05/0.3238, allocations: 5.062 kB / 0.5399 GB, free: 7.141 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.485e-05/0.3239, allocations: 54.89 kB / 0.5399 GB, free: 7.113 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003563/0.3243, allocations: 44.06 kB / 0.54 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006287/0.3249, allocations: 333.3 kB / 0.5403 GB, free: 6.836 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.3252, allocations: 0.7211 MB / 0.541 GB, free: 6.121 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.86e-05/0.3253, allocations: 26.8 kB / 0.541 GB, free: 6.105 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3253, allocations: 0 / 0.541 GB, free: 6.105 MB / 398.1 MB Notification: Performance of Templates: time 0.004893/0.3302, allocations: 2.434 MB / 0.5434 GB, free: 4.848 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches