Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001317/0.001317, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001147/0.001147, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 227.4 MB / 247.6 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2255/0.2255, allocations: 46.1 MB / 344.9 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 76.11 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3675/0.3689, allocations: 62.44 MB / 0.5317 GB, free: 13.65 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.003098/0.3721, allocations: 1.625 MB / 0.5333 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001056/0.3731, allocations: 0.5476 MB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.542e-05/0.3732, allocations: 0 / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.3735, allocations: 73.08 kB / 0.5339 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003242/0.3739, allocations: 106.3 kB / 0.534 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.3742, allocations: 116 kB / 0.5341 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001872/0.3744, allocations: 87.56 kB / 0.5342 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001173/0.3746, allocations: 17.3 kB / 0.5342 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.993e-05/0.3746, allocations: 35.73 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3748, allocations: 53.41 kB / 0.5343 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.3748, allocations: 2.531 kB / 0.5343 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001071/0.3749, allocations: 53.69 kB / 0.5343 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.108e-05/0.375, allocations: 20.17 kB / 0.5343 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.375, allocations: 33.23 kB / 0.5344 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002125/0.3752, allocations: 106.1 kB / 0.5345 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3753, allocations: 0 / 0.5345 GB, free: 11.54 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3753, allocations: 0 / 0.5345 GB, free: 11.54 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.811e-06/0.3753, allocations: 0 / 0.5345 GB, free: 11.54 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005382/0.3758, allocations: 413.5 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3759, allocations: 13.56 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.56e-05/0.3759, allocations: 10.34 kB / 0.5349 GB, free: 11.12 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.3761, allocations: 209.2 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.693e-06/0.3761, allocations: 1.75 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.981e-05/0.3762, allocations: 9.734 kB / 0.5351 GB, free: 10.88 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3763, allocations: 55.55 kB / 0.5352 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.3764, allocations: 3.906 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.3764, allocations: 5.375 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.3764, allocations: 1.375 kB / 0.5352 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.955e-05/0.3765, allocations: 23.11 kB / 0.5352 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004232/0.3769, allocations: 304.4 kB / 0.5355 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.377, allocations: 48.38 kB / 0.5355 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.174e-05/0.3771, allocations: 19.81 kB / 0.5355 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.387e-05/0.3771, allocations: 1.375 kB / 0.5355 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.3772, allocations: 35.88 kB / 0.5356 GB, free: 10.4 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.243e-06/0.3772, allocations: 4 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009369/0.3781, allocations: 241.8 kB / 0.5358 GB, free: 10.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.3782, allocations: 60.36 kB / 0.5359 GB, free: 10.19 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002167/0.3784, allocations: 215.3 kB / 0.5361 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.3784, allocations: 25.7 kB / 0.5361 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.826e-05/0.3785, allocations: 105.9 kB / 0.5362 GB, free: 9.91 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.3785, allocations: 26.88 kB / 0.5362 GB, free: 9.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.615e-05/0.3786, allocations: 24.2 kB / 0.5362 GB, free: 9.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3787, allocations: 322.8 kB / 0.5366 GB, free: 9.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.868e-05/0.3788, allocations: 28.42 kB / 0.5366 GB, free: 9.531 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.074e-05/0.3789, allocations: 33.25 kB / 0.5366 GB, free: 9.516 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001699/0.3791, allocations: 80.66 kB / 0.5367 GB, free: 9.469 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3791, allocations: 1.344 kB / 0.5367 GB, free: 9.469 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002328/0.3793, allocations: 112.9 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.3793, allocations: 6.938 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.3794, allocations: 0.9688 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.3794, allocations: 0 / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3795, allocations: 22.61 kB / 0.5368 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.3795, allocations: 4 kB / 0.5368 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.819e-05/0.3796, allocations: 7.344 kB / 0.5368 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.3796, allocations: 6.406 kB / 0.5368 GB, free: 9.379 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.654e-05/0.3797, allocations: 124.3 kB / 0.537 GB, free: 9.258 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.074e-05/0.3797, allocations: 13.34 kB / 0.537 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003146/0.3801, allocations: 134.2 kB / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3801, allocations: 1.125 kB / 0.5371 GB, free: 9.156 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3801, allocations: 5.062 kB / 0.5371 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.3801, allocations: 3.938 kB / 0.5371 GB, free: 9.148 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.3807, allocations: 419.4 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.267e-06/0.3807, allocations: 1.422 kB / 0.5375 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.387e-05/0.3807, allocations: 17.98 kB / 0.5375 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.28e-06/0.3808, allocations: 5.125 kB / 0.5375 GB, free: 8.746 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.3808, allocations: 5.125 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.3808, allocations: 1.125 kB / 0.5375 GB, free: 8.742 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/0.3808, allocations: 3.938 kB / 0.5375 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002762/0.3811, allocations: 213.8 kB / 0.5378 GB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.528e-05/0.3811, allocations: 91.22 kB / 0.5378 GB, free: 8.453 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3812, allocations: 5.156 kB / 0.5378 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.389e-05/0.3812, allocations: 8.312 kB / 0.5379 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.792e-05/0.3813, allocations: 7.266 kB / 0.5379 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.074e-06/0.3813, allocations: 2.344 kB / 0.5379 GB, free: 8.441 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001523/0.3815, allocations: 171.5 kB / 0.538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3815, allocations: 0 / 0.538 GB, free: 8.324 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002629/0.3817, allocations: 26.33 kB / 0.5381 GB, free: 8.312 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001093/0.3828, allocations: 460.4 kB / 0.5385 GB, free: 8.07 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002495/0.3831, allocations: 71.8 kB / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3831, allocations: 0 / 0.5386 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.3832, allocations: 49.03 kB / 0.5386 GB, free: 8.02 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003864/0.3836, allocations: 22.92 kB / 0.5386 GB, free: 8.012 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.3842, allocations: 293.4 kB / 0.5389 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3845, allocations: 0.7118 MB / 0.5396 GB, free: 7.066 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.404e-05/0.3846, allocations: 18.61 kB / 0.5396 GB, free: 7.059 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3846, allocations: 4 kB / 0.5396 GB, free: 7.055 MB / 398.1 MB Notification: Performance of Templates: time 0.004062/0.3886, allocations: 1.819 MB / 0.5414 GB, free: 6.113 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches