Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") translateModel(ModelicaTest.Tables.CombiTimeTable.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001162/0.001162, 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.001434/0.001434, allocations: 204.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.37/1.37, 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.2127/0.2127, allocations: 46.11 MB / 345 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.001489, allocations: 79.88 kB / 482.1 MB, free: 3.977 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3254/0.3269, allocations: 62.43 MB / 0.5317 GB, free: 13.85 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002995/0.33, allocations: 1.742 MB / 0.5334 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001621/0.3316, allocations: 1.024 MB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.186e-05/0.3317, allocations: 1.375 kB / 0.5344 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002802/0.332, allocations: 41.52 kB / 0.5345 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002875/0.3323, allocations: 95.09 kB / 0.5346 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002008/0.3326, allocations: 74.92 kB / 0.5346 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.3327, allocations: 106.3 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3328, allocations: 10.88 kB / 0.5347 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001065/0.333, allocations: 46.89 kB / 0.5348 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.47e-05/0.333, allocations: 38.73 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.926e-05/0.3331, allocations: 4.125 kB / 0.5348 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.679e-05/0.3332, allocations: 39.48 kB / 0.5349 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/0.3332, allocations: 24.16 kB / 0.5349 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.997e-05/0.3333, allocations: 35.98 kB / 0.5349 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3335, allocations: 125.5 kB / 0.535 GB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3335, allocations: 4 kB / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3335, allocations: 0 / 0.5351 GB, free: 11.27 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.521e-06/0.3335, allocations: 0 / 0.5351 GB, free: 11.27 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.0005115/0.3341, allocations: 418.7 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.3341, allocations: 8.562 kB / 0.5355 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.5e-05/0.3342, allocations: 14.09 kB / 0.5355 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002636/0.3344, allocations: 217.3 kB / 0.5357 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.3345, allocations: 5.516 kB / 0.5357 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.111e-05/0.3345, allocations: 10.31 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/0.3346, allocations: 54.98 kB / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3346, allocations: 0 / 0.5357 GB, free: 10.55 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.3347, allocations: 4 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3347, allocations: 1.406 kB / 0.5358 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.446e-05/0.3348, allocations: 22.2 kB / 0.5358 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.3351, allocations: 288.1 kB / 0.536 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001626/0.3353, allocations: 57.84 kB / 0.5361 GB, free: 10.18 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.051e-05/0.3354, allocations: 21.12 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.3354, allocations: 5.906 kB / 0.5361 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001562/0.3356, allocations: 68.08 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 2.905e-06/0.3356, allocations: 1.344 kB / 0.5362 GB, free: 10.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005283/0.3361, allocations: 193.6 kB / 0.5364 GB, free: 9.973 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/0.3361, allocations: 52.59 kB / 0.5364 GB, free: 9.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.3364, allocations: 208.3 kB / 0.5366 GB, free: 9.762 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3364, allocations: 26.83 kB / 0.5367 GB, free: 9.73 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.788e-05/0.3365, allocations: 105.8 kB / 0.5368 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.3365, allocations: 23.11 kB / 0.5368 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.954e-05/0.3365, allocations: 24.59 kB / 0.5368 GB, free: 9.586 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000108/0.3367, allocations: 327.2 kB / 0.5371 GB, free: 9.262 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.752e-05/0.3367, allocations: 26.98 kB / 0.5371 GB, free: 9.246 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.114e-05/0.3368, allocations: 35.39 kB / 0.5372 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001099/0.3369, allocations: 58.73 kB / 0.5372 GB, free: 9.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3369, allocations: 0 / 0.5372 GB, free: 9.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001891/0.3371, allocations: 103.9 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.3371, allocations: 6.156 kB / 0.5373 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.3372, allocations: 4.031 kB / 0.5373 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.3372, allocations: 1.281 kB / 0.5373 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.7e-05/0.3373, allocations: 16.86 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3373, allocations: 0.9688 kB / 0.5374 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.725e-05/0.3373, allocations: 5.906 kB / 0.5374 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3374, allocations: 7.094 kB / 0.5374 GB, free: 9.098 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.259e-05/0.3375, allocations: 124.6 kB / 0.5375 GB, free: 8.977 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.431e-05/0.3375, allocations: 9.438 kB / 0.5375 GB, free: 8.973 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.468e-05/0.3375, allocations: 14.94 kB / 0.5375 GB, free: 8.957 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3375, allocations: 9.078 kB / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3375, allocations: 0 / 0.5375 GB, free: 8.949 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3376, allocations: 5.156 kB / 0.5375 GB, free: 8.945 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004328/0.338, allocations: 398.6 kB / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.338, allocations: 1.844 kB / 0.5379 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.532e-05/0.3381, allocations: 15.02 kB / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.3381, allocations: 0 / 0.5379 GB, free: 8.551 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.3381, allocations: 6.906 kB / 0.5379 GB, free: 8.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3381, allocations: 4.031 kB / 0.5379 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.3381, allocations: 1.5 kB / 0.5379 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.3383, allocations: 208.3 kB / 0.5381 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.205e-05/0.3384, allocations: 88.92 kB / 0.5382 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.3384, allocations: 9.062 kB / 0.5382 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.3385, allocations: 6.516 kB / 0.5382 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.541e-05/0.3385, allocations: 10.59 kB / 0.5382 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.463e-05/0.3385, allocations: 8.094 kB / 0.5382 GB, free: 8.238 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001304/0.3387, allocations: 162.6 kB / 0.5384 GB, free: 8.125 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3387, allocations: 0 / 0.5384 GB, free: 8.125 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002596/0.339, allocations: 21.81 kB / 0.5384 GB, free: 8.121 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.001065/0.34, allocations: 464.3 kB / 0.5389 GB, free: 7.883 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3402, allocations: 58.53 kB / 0.5389 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3402, allocations: 0 / 0.5389 GB, free: 7.859 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.303e-05/0.3403, allocations: 29.36 kB / 0.539 GB, free: 7.848 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.3407, allocations: 25.95 kB / 0.539 GB, free: 7.836 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.3412, allocations: 270.3 kB / 0.5392 GB, free: 7.613 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3415, allocations: 0.7109 MB / 0.5399 GB, free: 6.898 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.3415, allocations: 19.61 kB / 0.5399 GB, free: 6.891 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3415, allocations: 0 / 0.5399 GB, free: 6.891 MB / 398.1 MB Notification: Performance of Templates: time 0.004608/0.3461, allocations: 1.988 MB / 0.5419 GB, free: 5.863 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches