Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.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.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") translateModel(ModelicaTest.Tables.CombiTimeTable.Test10,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001066/0.001066, allocations: 113.6 kB / 17.78 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.001226/0.001226, allocations: 204.7 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.355/1.355, allocations: 227.4 MB / 246.9 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.2065/0.2065, allocations: 46.12 MB / 344.3 MB, free: 11.44 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 79.88 kB / 481.4 MB, free: 3.926 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3654, allocations: 62.44 MB / 0.5311 GB, free: 13.54 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test10): time 0.003886/0.3693, allocations: 1.944 MB / 0.533 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.3714, allocations: 1.057 MB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.3716, allocations: 2.188 kB / 0.5341 GB, free: 11.19 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003481/0.372, allocations: 53.78 kB / 0.5341 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000417/0.3724, allocations: 94.89 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003189/0.3727, allocations: 93.55 kB / 0.5343 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.373, allocations: 149.5 kB / 0.5344 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001379/0.3732, allocations: 30.23 kB / 0.5345 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/0.3733, allocations: 52.72 kB / 0.5345 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001164/0.3734, allocations: 56.33 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.3735, allocations: 6.938 kB / 0.5346 GB, free: 10.83 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001432/0.3736, allocations: 47.48 kB / 0.5346 GB, free: 10.81 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.412e-05/0.3737, allocations: 22.2 kB / 0.5346 GB, free: 10.8 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.81e-05/0.3738, allocations: 64.31 kB / 0.5347 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.3742, allocations: 145.5 kB / 0.5348 GB, free: 10.66 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.3742, allocations: 3.938 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3742, allocations: 0 / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.3742, allocations: 1.375 kB / 0.5349 GB, free: 10.65 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007908/0.375, allocations: 492 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.453e-05/0.3751, allocations: 9.625 kB / 0.5353 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.3751, allocations: 21.03 kB / 0.5353 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.3755, allocations: 235.7 kB / 0.5356 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.3756, allocations: 7.062 kB / 0.5356 GB, free: 9.895 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.682e-05/0.3756, allocations: 13.62 kB / 0.5356 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3759, allocations: 105 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.3759, allocations: 1.375 kB / 0.5357 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.634e-05/0.3759, allocations: 5.375 kB / 0.5357 GB, free: 9.793 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3759, allocations: 5.375 kB / 0.5357 GB, free: 9.789 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.3761, allocations: 50.42 kB / 0.5358 GB, free: 9.766 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006415/0.3768, allocations: 0.4998 MB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003653/0.3771, allocations: 87.62 kB / 0.5363 GB, free: 9.199 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3772, allocations: 44.42 kB / 0.5364 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.607e-05/0.3773, allocations: 1.094 kB / 0.5364 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002258/0.3775, allocations: 81.22 kB / 0.5364 GB, free: 9.102 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 2.033e-06/0.3775, allocations: 4 kB / 0.5365 GB, free: 9.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004355/0.378, allocations: 143 kB / 0.5366 GB, free: 9.016 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.378, allocations: 57.81 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002096/0.3782, allocations: 202.6 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.007e-05/0.3783, allocations: 30.73 kB / 0.5369 GB, free: 8.762 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.224e-05/0.3784, allocations: 118.9 kB / 0.537 GB, free: 8.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.093e-05/0.3784, allocations: 32.48 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.3785, allocations: 30.88 kB / 0.537 GB, free: 8.594 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001378/0.3786, allocations: 330.7 kB / 0.5374 GB, free: 8.266 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.3787, allocations: 27.36 kB / 0.5374 GB, free: 8.254 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001105/0.3788, allocations: 57 kB / 0.5374 GB, free: 8.203 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002202/0.3791, allocations: 106 kB / 0.5375 GB, free: 8.121 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.3791, allocations: 0 / 0.5375 GB, free: 8.121 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.3794, allocations: 138.2 kB / 0.5377 GB, free: 8.039 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.3794, allocations: 5.031 kB / 0.5377 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3794, allocations: 5.938 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.3795, allocations: 2.094 kB / 0.5377 GB, free: 8.035 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001094/0.3796, allocations: 29.67 kB / 0.5377 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.3796, allocations: 2.156 kB / 0.5377 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.292e-05/0.3797, allocations: 9.203 kB / 0.5377 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.828e-05/0.3797, allocations: 16.38 kB / 0.5377 GB, free: 8.008 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001134/0.3798, allocations: 130.6 kB / 0.5379 GB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.968e-05/0.3799, allocations: 14.28 kB / 0.5379 GB, free: 7.871 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.324e-05/0.3799, allocations: 26.23 kB / 0.5379 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.3799, allocations: 5 kB / 0.5379 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3799, allocations: 1.094 kB / 0.5379 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3799, allocations: 0 / 0.5379 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.3801, allocations: 214.6 kB / 0.5381 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.3801, allocations: 0 / 0.5381 GB, free: 7.609 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.393e-05/0.3802, allocations: 14.48 kB / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3802, allocations: 0 / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.3803, allocations: 2.094 kB / 0.5381 GB, free: 7.605 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.281e-05/0.3803, allocations: 3.938 kB / 0.5381 GB, free: 7.602 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3803, allocations: 5.219 kB / 0.5381 GB, free: 7.598 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003886/0.3807, allocations: 176.5 kB / 0.5383 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.3807, allocations: 92.81 kB / 0.5384 GB, free: 7.371 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.896e-05/0.3808, allocations: 9.094 kB / 0.5384 GB, free: 7.363 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.32e-05/0.3809, allocations: 8.281 kB / 0.5384 GB, free: 7.359 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.365e-05/0.3809, allocations: 11.83 kB / 0.5384 GB, free: 7.352 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3809, allocations: 6.438 kB / 0.5384 GB, free: 7.348 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.3811, allocations: 146.4 kB / 0.5386 GB, free: 7.242 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.3811, allocations: 3.938 kB / 0.5386 GB, free: 7.238 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002478/0.3813, allocations: 31.08 kB / 0.5386 GB, free: 7.227 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001097/0.3824, allocations: 396.8 kB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000259/0.3827, allocations: 75.06 kB / 0.539 GB, free: 6.996 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3827, allocations: 4.062 kB / 0.539 GB, free: 6.992 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001035/0.3828, allocations: 42.53 kB / 0.5391 GB, free: 6.973 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003126/0.3831, allocations: 41.88 kB / 0.5391 GB, free: 6.953 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005774/0.3837, allocations: 261.6 kB / 0.5394 GB, free: 6.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3841, allocations: 0.719 MB / 0.5401 GB, free: 6.031 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.728e-05/0.3842, allocations: 20.16 kB / 0.5401 GB, free: 6.023 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.62e-05/0.3842, allocations: 15.81 kB / 0.5401 GB, free: 6.016 MB / 398.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3842, allocations: 1.438 kB / 0.5401 GB, free: 6.016 MB / 398.1 MB Notification: Performance of Templates: time 0.005405/0.3896, allocations: 1.915 MB / 0.542 GB, free: 5.043 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test10/Test10.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches