Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00116/0.001165, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.311/1.311, allocations: 226.7 MB / 245.5 MB, free: 6.98 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009902/0.0009902, allocations: 103.5 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.375/0.375, allocations: 44.83 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 63.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3309, allocations: 62.01 MB / 0.5151 GB, free: 37.73 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test23): time 0.003848/0.3349, allocations: 1.652 MB / 0.5168 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001409/0.3363, allocations: 1.144 MB / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.773e-05/0.3364, allocations: 3.938 kB / 0.5179 GB, free: 35.78 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002255/0.3366, allocations: 24.34 kB / 0.5179 GB, free: 35.77 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.3368, allocations: 63 kB / 0.518 GB, free: 35.73 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002308/0.337, allocations: 98.42 kB / 0.5181 GB, free: 35.68 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001228/0.3372, allocations: 59.98 kB / 0.5181 GB, free: 35.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.3373, allocations: 20.02 kB / 0.5181 GB, free: 35.65 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.446e-05/0.3373, allocations: 24.45 kB / 0.5182 GB, free: 35.64 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001541/0.3375, allocations: 33.73 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.3375, allocations: 2.562 kB / 0.5182 GB, free: 35.62 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3377, allocations: 88.86 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.632e-05/0.3377, allocations: 10.53 kB / 0.5183 GB, free: 35.59 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.597e-05/0.3378, allocations: 29.36 kB / 0.5183 GB, free: 35.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.338, allocations: 132.4 kB / 0.5184 GB, free: 35.52 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.338, allocations: 4 kB / 0.5184 GB, free: 35.51 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.338, allocations: 3.281 kB / 0.5184 GB, free: 35.51 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.388e-06/0.338, allocations: 0 / 0.5184 GB, free: 35.51 MB / 378.7 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.0004669/0.3385, allocations: 393.8 kB / 0.5188 GB, free: 35.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.3385, allocations: 11.81 kB / 0.5188 GB, free: 35.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.3386, allocations: 7.781 kB / 0.5188 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.3387, allocations: 196.6 kB / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3388, allocations: 384 / 0.519 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.513e-05/0.3388, allocations: 7.219 kB / 0.519 GB, free: 34.89 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3389, allocations: 70.03 kB / 0.5191 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.339, allocations: 0 / 0.5191 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.339, allocations: 2.875 kB / 0.5191 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.339, allocations: 3.984 kB / 0.5191 GB, free: 34.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.644e-05/0.3391, allocations: 24.45 kB / 0.5191 GB, free: 34.82 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.3394, allocations: 294.7 kB / 0.5194 GB, free: 34.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002143/0.3397, allocations: 41.95 kB / 0.5195 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.797e-05/0.3397, allocations: 13.89 kB / 0.5195 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.492e-05/0.3398, allocations: 6.906 kB / 0.5195 GB, free: 34.49 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.712e-05/0.3398, allocations: 30.56 kB / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3398, allocations: 0 / 0.5195 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.000533/0.3403, allocations: 146.4 kB / 0.5196 GB, free: 34.38 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.3404, allocations: 84.14 kB / 0.5197 GB, free: 34.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/0.3405, allocations: 146.7 kB / 0.5199 GB, free: 34.17 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.809e-06/0.3405, allocations: 25.7 kB / 0.5199 GB, free: 34.14 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.484e-05/0.3406, allocations: 95.14 kB / 0.52 GB, free: 34.05 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.985e-05/0.3406, allocations: 22.02 kB / 0.52 GB, free: 34.03 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.3406, allocations: 20.81 kB / 0.52 GB, free: 34.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.486e-05/0.3407, allocations: 324.9 kB / 0.5203 GB, free: 33.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.887e-05/0.3408, allocations: 19.03 kB / 0.5203 GB, free: 33.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.883e-05/0.3409, allocations: 42.61 kB / 0.5204 GB, free: 33.66 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.341, allocations: 52.55 kB / 0.5204 GB, free: 33.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.341, allocations: 7.125 kB / 0.5204 GB, free: 33.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001971/0.3412, allocations: 84 kB / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.623e-05/0.3413, allocations: 5.75 kB / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.3413, allocations: 0 / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.3413, allocations: 0 / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.825e-05/0.3414, allocations: 12.88 kB / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.3414, allocations: 0 / 0.5205 GB, free: 33.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.3414, allocations: 7.844 kB / 0.5206 GB, free: 33.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.915e-06/0.3415, allocations: 3.938 kB / 0.5206 GB, free: 33.58 MB / 378.7 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 8.324e-05/0.3415, allocations: 124.1 kB / 0.5207 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.012e-05/0.3416, allocations: 6.812 kB / 0.5207 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.3419, allocations: 96.83 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.3419, allocations: 2.688 kB / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.3419, allocations: 0 / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.3419, allocations: 0 / 0.5208 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004314/0.3424, allocations: 366.5 kB / 0.5211 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3424, allocations: 2.906 kB / 0.5211 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.847e-05/0.3424, allocations: 12.53 kB / 0.5211 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.3424, allocations: 0 / 0.5211 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.178e-05/0.3425, allocations: 0 / 0.5211 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3425, allocations: 10.88 kB / 0.5211 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3425, allocations: 0 / 0.5211 GB, free: 33.06 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005676/0.3431, allocations: 0.764 MB / 0.5219 GB, free: 32.31 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.3431, allocations: 83.98 kB / 0.522 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.3431, allocations: 0 / 0.522 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.715e-05/0.3432, allocations: 9.641 kB / 0.522 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.3433, allocations: 2.719 kB / 0.522 GB, free: 32.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.185e-06/0.3433, allocations: 9.984 kB / 0.522 GB, free: 32.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.15e-05/0.3434, allocations: 111.6 kB / 0.5221 GB, free: 32.12 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.693e-06/0.3434, allocations: 0 / 0.5221 GB, free: 32.12 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005014/0.3439, allocations: 39.94 kB / 0.5221 GB, free: 32.11 MB / 378.7 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.001161/0.3451, allocations: 494.1 kB / 0.5226 GB, free: 31.86 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002065/0.3453, allocations: 47.78 kB / 0.5227 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.3453, allocations: 0 / 0.5227 GB, free: 31.85 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.324e-05/0.3454, allocations: 31.34 kB / 0.5227 GB, free: 31.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.3458, allocations: 24.55 kB / 0.5227 GB, free: 31.83 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003882/0.3462, allocations: 310.3 kB / 0.523 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001187/0.3463, allocations: 0.6963 MB / 0.5237 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.3464, allocations: 18.75 kB / 0.5237 GB, free: 30.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.279e-05/0.3464, allocations: 16.16 kB / 0.5237 GB, free: 30.84 MB / 378.7 MB Notification: Performance of SimCode: time 1.91e-07/0.3464, allocations: 0 / 0.5237 GB, free: 30.84 MB / 378.7 MB Notification: Performance of Templates: time 0.003589/0.35, allocations: 1.746 MB / 0.5254 GB, free: 30.63 MB / 378.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test23/Test23.csv","../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches