Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.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.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test20,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001271/0.001271, allocations: 117.6 kB / 17.78 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001318/0.001318, allocations: 203.9 kB / 18.73 MB, free: 4.297 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 / 246.9 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.2122/0.2122, allocations: 46.09 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001496, allocations: 79.88 kB / 481.3 MB, free: 4.035 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3509/0.3524, allocations: 62.44 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test20): time 0.002775/0.3553, allocations: 1.599 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3568, allocations: 1.151 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.399e-05/0.3569, allocations: 5.312 kB / 0.5337 GB, free: 11.44 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002041/0.3571, allocations: 19.98 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002615/0.3574, allocations: 85.73 kB / 0.5338 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.3577, allocations: 94.56 kB / 0.5339 GB, free: 11.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3578, allocations: 63.34 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.677e-05/0.3579, allocations: 22.84 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.718e-05/0.358, allocations: 25.53 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001451/0.3581, allocations: 34.8 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.499e-05/0.3582, allocations: 2.75 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001476/0.3583, allocations: 95.86 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.485e-05/0.3584, allocations: 12.5 kB / 0.5341 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.373e-05/0.3584, allocations: 27.09 kB / 0.5342 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3586, allocations: 139.2 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/0.3587, allocations: 4 kB / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3587, allocations: 0 / 0.5343 GB, free: 11.05 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3587, allocations: 1.406 kB / 0.5343 GB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004626/0.3591, allocations: 399.1 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3592, allocations: 8.875 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.189e-05/0.3592, allocations: 8.844 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001967/0.3594, allocations: 194.8 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.011e-05/0.3595, allocations: 5.594 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.3595, allocations: 1.625 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001456/0.3596, allocations: 71.94 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.3597, allocations: 1.281 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.3597, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.3597, allocations: 5.188 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.723e-05/0.3598, allocations: 24.47 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.3601, allocations: 271.1 kB / 0.5352 GB, free: 10.03 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.3603, allocations: 51.91 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.922e-05/0.3604, allocations: 15.62 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.3604, allocations: 1.094 kB / 0.5353 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3604, allocations: 31.69 kB / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.3604, allocations: 0 / 0.5353 GB, free: 9.938 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005313/0.3609, allocations: 145.3 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.361, allocations: 82.31 kB / 0.5356 GB, free: 9.75 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001422/0.3612, allocations: 143.7 kB / 0.5357 GB, free: 9.629 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.3612, allocations: 26.83 kB / 0.5357 GB, free: 9.598 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.59e-05/0.3612, allocations: 90.3 kB / 0.5358 GB, free: 9.508 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.103e-05/0.3613, allocations: 22.02 kB / 0.5358 GB, free: 9.488 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.3613, allocations: 22.22 kB / 0.5358 GB, free: 9.465 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.3614, allocations: 325 kB / 0.5362 GB, free: 9.141 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.713e-05/0.3615, allocations: 18.23 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.141e-05/0.3616, allocations: 34.89 kB / 0.5362 GB, free: 9.105 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.3617, allocations: 45.02 kB / 0.5363 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.3617, allocations: 4 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001818/0.3619, allocations: 79.92 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.3619, allocations: 6.219 kB / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.3619, allocations: 0 / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.362, allocations: 0 / 0.5363 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.414e-05/0.362, allocations: 13.83 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.362, allocations: 1.344 kB / 0.5364 GB, free: 9.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.3621, allocations: 6.719 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.3621, allocations: 9.172 kB / 0.5364 GB, free: 9.008 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 (5): * Single equations (assignments): 5 * 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 7.659e-05/0.3622, allocations: 121.8 kB / 0.5365 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.354e-05/0.3622, allocations: 3.719 kB / 0.5365 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002197/0.3624, allocations: 93.94 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3625, allocations: 0 / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.3625, allocations: 0 / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3625, allocations: 1.375 kB / 0.5366 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004101/0.3629, allocations: 361.7 kB / 0.5369 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3629, allocations: 3.938 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.363, allocations: 9.812 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.363, allocations: 5.125 kB / 0.5369 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.363, allocations: 1.219 kB / 0.5369 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.363, allocations: 7.922 kB / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.363, allocations: 288 / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002132/0.3632, allocations: 180.5 kB / 0.5371 GB, free: 8.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.3633, allocations: 87.19 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.3633, allocations: 9.016 kB / 0.5372 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.403e-05/0.3634, allocations: 7.531 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.499e-05/0.3634, allocations: 1.312 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.478e-06/0.3634, allocations: 1.344 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.598e-05/0.3635, allocations: 115 kB / 0.5373 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3635, allocations: 0 / 0.5373 GB, free: 8.062 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002833/0.3638, allocations: 47.36 kB / 0.5374 GB, free: 8.039 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001053/0.3649, allocations: 487 kB / 0.5378 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002017/0.3651, allocations: 49.05 kB / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3651, allocations: 0 / 0.5379 GB, free: 7.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.663e-05/0.3652, allocations: 27.36 kB / 0.5379 GB, free: 7.758 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3655, allocations: 26.5 kB / 0.5379 GB, free: 7.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.3659, allocations: 167 kB / 0.5381 GB, free: 7.598 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002311/0.3662, allocations: 0.6891 MB / 0.5388 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.938e-05/0.3662, allocations: 18.25 kB / 0.5388 GB, free: 6.883 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.3663, allocations: 13.22 kB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3663, allocations: 1.5 kB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of Templates: time 0.004238/0.3705, allocations: 1.746 MB / 0.5405 GB, free: 5.969 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test20/Test20.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches