Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") translateModel(ModelicaTest.Tables.CombiTimeTable.Test54,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 116.4 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 208 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.521/1.521, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2333/0.2333, allocations: 46.12 MB / 345 MB, free: 11.42 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 79.88 kB / 482.1 MB, free: 3.902 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3215/0.3238, allocations: 62.44 MB / 0.5318 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003243/0.327, allocations: 1.745 MB / 0.5335 GB, free: 12.43 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.3289, allocations: 1.025 MB / 0.5345 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.185e-05/0.329, allocations: 1.375 kB / 0.5345 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.3293, allocations: 50.66 kB / 0.5346 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003364/0.3296, allocations: 97.16 kB / 0.5347 GB, free: 11.53 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002275/0.3299, allocations: 79.77 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001938/0.3301, allocations: 109.6 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.125e-05/0.3301, allocations: 7.438 kB / 0.5348 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.65e-05/0.3302, allocations: 48.42 kB / 0.5349 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.3303, allocations: 29.95 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.3303, allocations: 4.625 kB / 0.5349 GB, free: 11.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.946e-05/0.3304, allocations: 43.81 kB / 0.535 GB, free: 11.34 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.3305, allocations: 24.58 kB / 0.535 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.3306, allocations: 44.52 kB / 0.535 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.3308, allocations: 126.5 kB / 0.5352 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.3308, allocations: 4 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.3308, allocations: 4 kB / 0.5352 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.3308, allocations: 1.375 kB / 0.5352 GB, free: 11.2 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.0006323/0.3314, allocations: 431.5 kB / 0.5356 GB, free: 10.76 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.3315, allocations: 13.61 kB / 0.5356 GB, free: 10.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.3315, allocations: 10.39 kB / 0.5356 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.3318, allocations: 227.5 kB / 0.5358 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.3319, allocations: 5.75 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.266e-05/0.3319, allocations: 6.875 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.332, allocations: 58.05 kB / 0.5359 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.332, allocations: 0 / 0.5359 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.048e-05/0.3321, allocations: 0 / 0.5359 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.3321, allocations: 1.375 kB / 0.5359 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.648e-05/0.3321, allocations: 18.98 kB / 0.5359 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000413/0.3326, allocations: 289.6 kB / 0.5362 GB, free: 10.13 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001814/0.3327, allocations: 63.8 kB / 0.5362 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.3328, allocations: 19.84 kB / 0.5363 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.3328, allocations: 2.438 kB / 0.5363 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/0.333, allocations: 68.59 kB / 0.5363 GB, free: 10 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.363e-06/0.333, allocations: 3.938 kB / 0.5363 GB, free: 9.996 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005648/0.3335, allocations: 175.8 kB / 0.5365 GB, free: 9.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.3336, allocations: 56.53 kB / 0.5365 GB, free: 9.828 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00025/0.3338, allocations: 236.3 kB / 0.5368 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.3338, allocations: 30.67 kB / 0.5368 GB, free: 9.633 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.3339, allocations: 110.8 kB / 0.5369 GB, free: 9.527 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.631e-05/0.334, allocations: 22.95 kB / 0.5369 GB, free: 9.508 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-05/0.334, allocations: 24.48 kB / 0.537 GB, free: 9.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3342, allocations: 336 kB / 0.5373 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.403e-05/0.3342, allocations: 22.52 kB / 0.5373 GB, free: 9.141 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.901e-05/0.3343, allocations: 44.3 kB / 0.5373 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.3344, allocations: 53.78 kB / 0.5374 GB, free: 9.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3344, allocations: 1.281 kB / 0.5374 GB, free: 9.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000208/0.3346, allocations: 107.7 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.3346, allocations: 5.062 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3346, allocations: 1.562 kB / 0.5375 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.3347, allocations: 4.031 kB / 0.5375 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.122e-05/0.3348, allocations: 17.09 kB / 0.5375 GB, free: 8.992 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.3348, allocations: 5.047 kB / 0.5375 GB, free: 8.988 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.154e-05/0.3348, allocations: 10.09 kB / 0.5375 GB, free: 8.98 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.283e-06/0.3348, allocations: 2.812 kB / 0.5375 GB, free: 8.98 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.0001142/0.3349, allocations: 130.2 kB / 0.5377 GB, free: 8.855 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.685e-05/0.335, allocations: 14.75 kB / 0.5377 GB, free: 8.848 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.275e-05/0.335, allocations: 16.19 kB / 0.5377 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.335, allocations: 5.125 kB / 0.5377 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.335, allocations: 0 / 0.5377 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.335, allocations: 7.922 kB / 0.5377 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005134/0.3355, allocations: 397.4 kB / 0.5381 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3355, allocations: 1.25 kB / 0.5381 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.662e-05/0.3356, allocations: 11.42 kB / 0.5381 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3356, allocations: 0.75 kB / 0.5381 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.3356, allocations: 6.406 kB / 0.5381 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3356, allocations: 1 kB / 0.5381 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3356, allocations: 4 kB / 0.5381 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002526/0.3359, allocations: 214.2 kB / 0.5383 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.187e-05/0.3359, allocations: 92.16 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.546e-05/0.3359, allocations: 5.062 kB / 0.5384 GB, free: 8.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.481e-05/0.336, allocations: 5.984 kB / 0.5384 GB, free: 8.129 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.3361, allocations: 11.91 kB / 0.5384 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.499e-05/0.3361, allocations: 3.688 kB / 0.5384 GB, free: 8.121 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001659/0.3362, allocations: 173.2 kB / 0.5386 GB, free: 8.008 MB / 398.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3362, allocations: 1.281 kB / 0.5386 GB, free: 8.008 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.3365, allocations: 28.05 kB / 0.5386 GB, free: 7.996 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.001671/0.3382, allocations: 463.2 kB / 0.5391 GB, free: 7.762 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3384, allocations: 51.3 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3384, allocations: 1.375 kB / 0.5391 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.534e-05/0.3384, allocations: 26.64 kB / 0.5391 GB, free: 7.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003843/0.3388, allocations: 36.62 kB / 0.5392 GB, free: 7.711 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005359/0.3394, allocations: 265.6 kB / 0.5394 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003694/0.3397, allocations: 0.7135 MB / 0.5401 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.509e-05/0.3398, allocations: 14.72 kB / 0.5401 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.291e-05/0.3398, allocations: 22.77 kB / 0.5402 GB, free: 6.773 MB / 398.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3398, allocations: 1.312 kB / 0.5402 GB, free: 6.773 MB / 398.1 MB Notification: Performance of Templates: time 0.004996/0.3448, allocations: 1.766 MB / 0.5419 GB, free: 5.883 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test54.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches