Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00178/0.00178, allocations: 117.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0022/0.002201, allocations: 200.6 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.5/1.5, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2263/0.2263, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 67.89 kB / 481.4 MB, free: 3.992 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.4064, allocations: 62.44 MB / 0.5311 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003228/0.4097, allocations: 1.735 MB / 0.5328 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001633/0.4113, allocations: 1.018 MB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.397e-05/0.4114, allocations: 1.125 kB / 0.5338 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003327/0.4118, allocations: 81.08 kB / 0.5338 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.4121, allocations: 119.3 kB / 0.534 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.4124, allocations: 79.7 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001997/0.4126, allocations: 111.7 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.4127, allocations: 15.78 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.4128, allocations: 53.14 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001122/0.413, allocations: 66.94 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.884e-05/0.413, allocations: 4.5 kB / 0.5343 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001114/0.4131, allocations: 43.64 kB / 0.5343 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.722e-05/0.4132, allocations: 23.7 kB / 0.5343 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.4132, allocations: 36.83 kB / 0.5344 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002295/0.4135, allocations: 129.1 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.4135, allocations: 0 / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.4135, allocations: 0 / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.4135, allocations: 1.094 kB / 0.5345 GB, free: 10.99 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.0005708/0.4141, allocations: 431 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.4141, allocations: 12.84 kB / 0.5349 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.59e-05/0.4142, allocations: 18.38 kB / 0.5349 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.4145, allocations: 218.1 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.4145, allocations: 1.75 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.237e-05/0.4145, allocations: 5.344 kB / 0.5351 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002679/0.4148, allocations: 54.23 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.4148, allocations: 1.375 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.4148, allocations: 4 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.4148, allocations: 1.375 kB / 0.5352 GB, free: 10.25 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.657e-05/0.4149, allocations: 17.61 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003572/0.4153, allocations: 301.5 kB / 0.5355 GB, free: 9.918 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.4155, allocations: 48.56 kB / 0.5356 GB, free: 9.883 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.421e-05/0.4155, allocations: 26.47 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.071e-05/0.4156, allocations: 1.375 kB / 0.5356 GB, free: 9.863 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.4157, allocations: 69.14 kB / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.4157, allocations: 0 / 0.5356 GB, free: 9.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005357/0.4163, allocations: 183.5 kB / 0.5358 GB, free: 9.688 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.067e-05/0.4163, allocations: 51.41 kB / 0.5359 GB, free: 9.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.4165, allocations: 226.5 kB / 0.5361 GB, free: 9.461 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4166, allocations: 34.86 kB / 0.5361 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.645e-05/0.4166, allocations: 105.7 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.4167, allocations: 24.05 kB / 0.5362 GB, free: 9.301 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.206e-05/0.4167, allocations: 28.02 kB / 0.5363 GB, free: 9.273 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4169, allocations: 327.2 kB / 0.5366 GB, free: 8.949 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.024e-05/0.4169, allocations: 18.84 kB / 0.5366 GB, free: 8.941 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.417, allocations: 35.73 kB / 0.5366 GB, free: 8.914 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001138/0.4171, allocations: 63 kB / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.4171, allocations: 0 / 0.5367 GB, free: 8.871 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002137/0.4174, allocations: 104.8 kB / 0.5368 GB, free: 8.805 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4174, allocations: 11.33 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.4174, allocations: 0 / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.205e-05/0.4174, allocations: 1.281 kB / 0.5368 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.338e-05/0.4175, allocations: 17.91 kB / 0.5368 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4175, allocations: 4.031 kB / 0.5368 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.537e-05/0.4176, allocations: 10.56 kB / 0.5368 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.073e-05/0.4176, allocations: 6.453 kB / 0.5368 GB, free: 8.781 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 9.884e-05/0.4177, allocations: 125 kB / 0.537 GB, free: 8.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.568e-05/0.4177, allocations: 15 kB / 0.537 GB, free: 8.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.034e-05/0.4178, allocations: 18.7 kB / 0.537 GB, free: 8.633 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.4178, allocations: 5.062 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4178, allocations: 1.344 kB / 0.537 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.4178, allocations: 7.922 kB / 0.537 GB, free: 8.621 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000443/0.4183, allocations: 404.8 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.4183, allocations: 0 / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.136e-05/0.4183, allocations: 7.969 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4183, allocations: 1.25 kB / 0.5374 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.4183, allocations: 5.281 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.4183, allocations: 1.25 kB / 0.5374 GB, free: 8.227 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.4183, allocations: 3.984 kB / 0.5374 GB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000253/0.4186, allocations: 213.4 kB / 0.5376 GB, free: 8.039 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.9e-05/0.4187, allocations: 84.62 kB / 0.5377 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.707e-05/0.4187, allocations: 6.75 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.875e-05/0.4188, allocations: 0.9688 kB / 0.5377 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.4188, allocations: 15.42 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.4188, allocations: 4.344 kB / 0.5377 GB, free: 7.926 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001841/0.419, allocations: 164.9 kB / 0.5379 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.419, allocations: 4 kB / 0.5379 GB, free: 7.812 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002692/0.4193, allocations: 28.36 kB / 0.5379 GB, free: 7.801 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.001117/0.4204, allocations: 452.1 kB / 0.5383 GB, free: 7.574 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002031/0.4206, allocations: 69.7 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4207, allocations: 1.375 kB / 0.5384 GB, free: 7.539 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.504e-05/0.4207, allocations: 24.25 kB / 0.5384 GB, free: 7.531 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/0.4211, allocations: 36.16 kB / 0.5385 GB, free: 7.512 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005229/0.4216, allocations: 252.6 kB / 0.5387 GB, free: 7.316 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.422, allocations: 0.7127 MB / 0.5394 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.922e-05/0.4221, allocations: 13.72 kB / 0.5394 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.181e-05/0.4221, allocations: 19.61 kB / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4221, allocations: 0 / 0.5394 GB, free: 6.582 MB / 398.1 MB Notification: Performance of Templates: time 0.005449/0.4276, allocations: 1.752 MB / 0.5412 GB, free: 5.695 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test40/Test40.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test40.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches