Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001188/0.001188, allocations: 117.8 kB / 17.79 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001511/0.001512, allocations: 203.8 kB / 18.74 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.417/1.417, 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.2306/0.2306, allocations: 46.09 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 75.88 kB / 481.3 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.4397, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.002923/0.4426, allocations: 1.598 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009689/0.4436, allocations: 0.538 MB / 0.5331 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.722e-05/0.4437, allocations: 9.312 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.4439, allocations: 17.36 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002935/0.4442, allocations: 79.05 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.4445, allocations: 114.8 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.4447, allocations: 61.97 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.4448, allocations: 14.86 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.838e-05/0.4448, allocations: 28.11 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.4449, allocations: 22.73 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.416e-05/0.4449, allocations: 2.75 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.373e-05/0.445, allocations: 32.61 kB / 0.5335 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.885e-05/0.4451, allocations: 12.06 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.247e-05/0.4451, allocations: 27.91 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001649/0.4453, allocations: 76.23 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4453, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.4453, allocations: 0 / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.111e-06/0.4453, allocations: 5.562 kB / 0.5336 GB, free: 11.64 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.0004556/0.4458, allocations: 384.9 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.4458, allocations: 9.844 kB / 0.534 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.4459, allocations: 8.438 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001889/0.4461, allocations: 196.5 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.869e-06/0.4461, allocations: 5.969 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.342e-05/0.4461, allocations: 5.688 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001397/0.4463, allocations: 53.5 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.4463, allocations: 4 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.4463, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4463, allocations: 1.312 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.495e-05/0.4464, allocations: 25.94 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003735/0.4468, allocations: 280 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00021/0.447, allocations: 48.67 kB / 0.5346 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.25e-05/0.4471, allocations: 20.11 kB / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.786e-05/0.4471, allocations: 0 / 0.5346 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.4471, allocations: 35.92 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 3.176e-06/0.4471, allocations: 3.984 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005853/0.4477, allocations: 146.7 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.4478, allocations: 60.55 kB / 0.5348 GB, free: 10.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001524/0.4479, allocations: 147.8 kB / 0.535 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.948e-05/0.448, allocations: 29.7 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.065e-05/0.448, allocations: 99.44 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.172e-05/0.4481, allocations: 10.09 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.507e-05/0.4481, allocations: 19.06 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.4482, allocations: 325 kB / 0.5354 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.843e-05/0.4483, allocations: 23.45 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.58e-05/0.4484, allocations: 23.84 kB / 0.5355 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000145/0.4485, allocations: 55.89 kB / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.4485, allocations: 0 / 0.5355 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001892/0.4487, allocations: 83.42 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.4488, allocations: 5.688 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4488, allocations: 0 / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.4488, allocations: 9.141 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.4489, allocations: 9.188 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.4489, allocations: 1.094 kB / 0.5356 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.052e-05/0.4489, allocations: 6.609 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.4489, allocations: 2.312 kB / 0.5356 GB, free: 9.652 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 8.687e-05/0.449, allocations: 118.1 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.417e-05/0.4491, allocations: 12.06 kB / 0.5357 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002538/0.4493, allocations: 104.6 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.4493, allocations: 1.375 kB / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4493, allocations: 0 / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4493, allocations: 0 / 0.5358 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/0.4498, allocations: 363.2 kB / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.4498, allocations: 0 / 0.5362 GB, free: 9.082 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.694e-05/0.4499, allocations: 13.61 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.4499, allocations: 1.375 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.4499, allocations: 9.312 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.4499, allocations: 3.938 kB / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.4499, allocations: 0 / 0.5362 GB, free: 9.066 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.4501, allocations: 183.2 kB / 0.5364 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.4502, allocations: 78.48 kB / 0.5365 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.529e-05/0.4502, allocations: 1.375 kB / 0.5365 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.43e-05/0.4503, allocations: 14.67 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.172e-05/0.4503, allocations: 6.688 kB / 0.5365 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.432e-06/0.4503, allocations: 1.375 kB / 0.5365 GB, free: 8.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.213e-05/0.4504, allocations: 127.9 kB / 0.5366 GB, free: 8.695 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4504, allocations: 1.375 kB / 0.5366 GB, free: 8.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002439/0.4507, allocations: 17.44 kB / 0.5366 GB, free: 8.688 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.0009155/0.4516, allocations: 392.5 kB / 0.537 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002015/0.4518, allocations: 55.14 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.4518, allocations: 0 / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.387e-05/0.4519, allocations: 33.23 kB / 0.5371 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003475/0.4523, allocations: 21.77 kB / 0.5371 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004291/0.4527, allocations: 180.4 kB / 0.5373 GB, free: 8.277 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.453, allocations: 0.6985 MB / 0.538 GB, free: 7.566 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.4531, allocations: 16.52 kB / 0.538 GB, free: 7.559 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.163e-05/0.4531, allocations: 16.8 kB / 0.538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.4531, allocations: 0 / 0.538 GB, free: 7.547 MB / 398.1 MB Notification: Performance of Templates: time 0.003528/0.4567, allocations: 1.138 MB / 0.5391 GB, free: 6.957 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches