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.001248/0.001248, allocations: 114.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001491/0.001491, allocations: 206 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.528/1.528, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2281/0.2281, allocations: 46.1 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 71.88 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.4465, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.003169/0.4497, allocations: 1.598 MB / 0.5326 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.4508, allocations: 0.5454 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.574e-05/0.4509, allocations: 1.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00025/0.4512, allocations: 16.42 kB / 0.5331 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003285/0.4515, allocations: 87.77 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.4519, allocations: 114.1 kB / 0.5333 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.4521, allocations: 62.02 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.4522, allocations: 10.88 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.445e-05/0.4522, allocations: 25.48 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.472e-05/0.4523, allocations: 29.28 kB / 0.5334 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.4524, allocations: 6.75 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.545e-05/0.4524, allocations: 32.61 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.319e-05/0.4525, allocations: 8.125 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.019e-05/0.4525, allocations: 25.31 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.4527, allocations: 87.64 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.4528, allocations: 0 / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.595e-06/0.4528, allocations: 1.375 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.878e-06/0.4528, allocations: 0 / 0.5336 GB, free: 11.63 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.0005386/0.4533, allocations: 387.5 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.4534, allocations: 13.62 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.221e-05/0.4534, allocations: 9.016 kB / 0.534 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.4536, allocations: 186.7 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4537, allocations: 1.75 kB / 0.5342 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.657e-05/0.4537, allocations: 5.734 kB / 0.5342 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.4538, allocations: 56.75 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4539, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4539, allocations: 1.375 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.4539, allocations: 0 / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.915e-05/0.454, allocations: 29.72 kB / 0.5342 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004195/0.4544, allocations: 288.2 kB / 0.5345 GB, free: 10.63 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002268/0.4547, allocations: 40.44 kB / 0.5346 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.379e-05/0.4547, allocations: 21.19 kB / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.4548, allocations: 0 / 0.5346 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.346e-05/0.4548, allocations: 35.94 kB / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.4548, allocations: 0 / 0.5346 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006098/0.4554, allocations: 151.4 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.4555, allocations: 51.41 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.4556, allocations: 154.8 kB / 0.535 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.666e-05/0.4557, allocations: 33.64 kB / 0.535 GB, free: 10.22 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.587e-05/0.4557, allocations: 96.2 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.4558, allocations: 21.16 kB / 0.5351 GB, free: 10.11 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.837e-05/0.4558, allocations: 17.84 kB / 0.5351 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4559, allocations: 325.5 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.829e-05/0.456, allocations: 20.2 kB / 0.5354 GB, free: 9.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-05/0.4561, allocations: 19.8 kB / 0.5355 GB, free: 9.746 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.4563, allocations: 56.14 kB / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.51e-07/0.4563, allocations: 0 / 0.5355 GB, free: 9.715 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001981/0.4565, allocations: 91.08 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.4565, allocations: 5.281 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.4565, allocations: 0 / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4565, allocations: 1.375 kB / 0.5356 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.975e-05/0.4566, allocations: 17.67 kB / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4566, allocations: 0 / 0.5356 GB, free: 9.645 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.974e-05/0.4567, allocations: 7.312 kB / 0.5356 GB, free: 9.641 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.4567, allocations: 6.203 kB / 0.5356 GB, free: 9.637 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.937e-05/0.4568, allocations: 119.1 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.059e-05/0.4568, allocations: 6.422 kB / 0.5358 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000257/0.4571, allocations: 97.55 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.4571, allocations: 1.094 kB / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.4571, allocations: 0 / 0.5359 GB, free: 9.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.4571, allocations: 7.984 kB / 0.5359 GB, free: 9.434 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004676/0.4576, allocations: 356.1 kB / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4576, allocations: 0 / 0.5362 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.92e-05/0.4577, allocations: 14.3 kB / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.4577, allocations: 0 / 0.5362 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.4577, allocations: 5.219 kB / 0.5362 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.4577, allocations: 7.875 kB / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.4577, allocations: 0.9688 kB / 0.5362 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.4581, allocations: 186.6 kB / 0.5364 GB, free: 8.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.254e-05/0.4581, allocations: 82.19 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.4582, allocations: 1.406 kB / 0.5365 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.4583, allocations: 11.38 kB / 0.5365 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.683e-05/0.4583, allocations: 10.14 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.4583, allocations: 1.094 kB / 0.5365 GB, free: 8.785 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001173/0.4584, allocations: 124.3 kB / 0.5366 GB, free: 8.688 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4584, allocations: 0.7812 kB / 0.5366 GB, free: 8.688 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4587, allocations: 18.91 kB / 0.5366 GB, free: 8.68 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.001019/0.4597, allocations: 390.3 kB / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000351/0.4601, allocations: 54.97 kB / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4601, allocations: 0 / 0.5371 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.794e-05/0.4602, allocations: 32.44 kB / 0.5371 GB, free: 8.438 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.4606, allocations: 23.66 kB / 0.5371 GB, free: 8.426 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005036/0.4611, allocations: 181.9 kB / 0.5373 GB, free: 8.27 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005693/0.4617, allocations: 0.6957 MB / 0.538 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.104e-05/0.4618, allocations: 28.78 kB / 0.538 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.81e-05/0.4618, allocations: 11.34 kB / 0.538 GB, free: 7.535 MB / 398.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4618, allocations: 0 / 0.538 GB, free: 7.535 MB / 398.1 MB Notification: Performance of Templates: time 0.004436/0.4663, allocations: 1.131 MB / 0.5391 GB, free: 6.953 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