Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,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.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,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.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001094/0.001094, allocations: 121.7 kB / 17.79 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.001217/0.001217, allocations: 199.8 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.404/1.404, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.239/0.239, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 79.88 kB / 481.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4126, allocations: 62.44 MB / 0.531 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003367/0.416, allocations: 1.598 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001059/0.4171, allocations: 0.5304 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.025e-05/0.4172, allocations: 1.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002511/0.4174, allocations: 25.36 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003114/0.4178, allocations: 80.36 kB / 0.5332 GB, free: 11.87 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.4181, allocations: 94.45 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001649/0.4182, allocations: 58.02 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.4184, allocations: 14.86 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.4184, allocations: 24.06 kB / 0.5334 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.272e-05/0.4185, allocations: 21.36 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.4185, allocations: 2.75 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.4186, allocations: 44.47 kB / 0.5334 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.4187, allocations: 17.3 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.4187, allocations: 19.84 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001843/0.4189, allocations: 84.38 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.4189, allocations: 0.9688 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.4189, allocations: 0 / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.001e-05/0.419, 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.0005951/0.4196, allocations: 383.2 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.4196, allocations: 10 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.152e-05/0.4197, allocations: 7.719 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.4199, allocations: 197.5 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.4199, allocations: 1.469 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.093e-05/0.4199, allocations: 11.22 kB / 0.5341 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001498/0.4201, allocations: 51.7 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.4201, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.4201, allocations: 1.469 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.4201, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001015/0.4203, allocations: 24.83 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003745/0.4206, allocations: 276.2 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002266/0.4209, allocations: 42.97 kB / 0.5345 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.376e-05/0.4209, allocations: 15.97 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.421, allocations: 5.328 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.421, allocations: 34.5 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.421, allocations: 5.156 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005953/0.4216, allocations: 145.7 kB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.4217, allocations: 55.34 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.4219, allocations: 163.8 kB / 0.5349 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.359e-05/0.4219, allocations: 25.7 kB / 0.535 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.176e-05/0.4219, allocations: 96.28 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.526e-05/0.422, allocations: 18.03 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.113e-05/0.422, allocations: 22.14 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4222, allocations: 317.1 kB / 0.5354 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.024e-05/0.4222, allocations: 14.08 kB / 0.5354 GB, free: 9.777 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.233e-05/0.4223, allocations: 23.38 kB / 0.5354 GB, free: 9.766 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.4224, allocations: 48.41 kB / 0.5355 GB, free: 9.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-06/0.4225, allocations: 4 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001899/0.4227, allocations: 80.5 kB / 0.5355 GB, free: 9.68 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4227, allocations: 5.719 kB / 0.5356 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.4227, allocations: 3.938 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.4227, allocations: 1.094 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.682e-05/0.4228, allocations: 9.344 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4228, allocations: 3.984 kB / 0.5356 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.375e-05/0.4228, allocations: 11.69 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.4229, allocations: 9.094 kB / 0.5356 GB, free: 9.656 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 9.783e-05/0.423, allocations: 116.3 kB / 0.5357 GB, free: 9.539 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.495e-05/0.423, allocations: 11.11 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002557/0.4233, allocations: 86.56 kB / 0.5358 GB, free: 9.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.4233, allocations: 3.938 kB / 0.5358 GB, free: 9.465 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.4233, allocations: 5.531 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.4233, allocations: 3.938 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004597/0.4238, allocations: 347.8 kB / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4238, allocations: 0 / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.104e-05/0.4239, allocations: 13.61 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.4239, allocations: 1.375 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4239, allocations: 3.938 kB / 0.5362 GB, free: 9.098 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.689e-06/0.4239, allocations: 5.359 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.4239, allocations: 192 / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.4242, allocations: 188.3 kB / 0.5363 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.4242, allocations: 78.48 kB / 0.5364 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.405e-05/0.4243, allocations: 9.312 kB / 0.5364 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.078e-05/0.4243, allocations: 6.734 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.4244, allocations: 1.375 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.4244, allocations: 2.75 kB / 0.5364 GB, free: 8.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001187/0.4245, allocations: 126.3 kB / 0.5366 GB, free: 8.727 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4245, allocations: 4 kB / 0.5366 GB, free: 8.723 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.4248, allocations: 26.98 kB / 0.5366 GB, free: 8.707 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.001084/0.4259, allocations: 401.4 kB / 0.537 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.4262, allocations: 52.34 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4262, allocations: 0 / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.484e-05/0.4263, allocations: 27.02 kB / 0.537 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.4267, allocations: 15.7 kB / 0.5371 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005255/0.4272, allocations: 181.6 kB / 0.5372 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002935/0.4275, allocations: 0.6916 MB / 0.5379 GB, free: 7.594 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.61e-05/0.4276, allocations: 17.09 kB / 0.5379 GB, free: 7.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.309e-05/0.4276, allocations: 19.78 kB / 0.5379 GB, free: 7.566 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4276, allocations: 1.062 kB / 0.5379 GB, free: 7.566 MB / 398.1 MB Notification: Performance of Templates: time 0.003939/0.4316, allocations: 1.126 MB / 0.539 GB, free: 6.984 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches