Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.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.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.CombiTable1Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001483/0.001483, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001823/0.001823, allocations: 197.2 kB / 18.73 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.467/1.467, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2482/0.2482, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 75.83 kB / 481.3 MB, free: 4.027 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4156/0.4178, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.003283/0.4211, allocations: 1.609 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001867/0.423, allocations: 1.157 MB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.384e-05/0.4231, allocations: 1.375 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002409/0.4234, allocations: 15.98 kB / 0.5337 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002955/0.4237, allocations: 85.73 kB / 0.5338 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002576/0.4239, allocations: 90.59 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001622/0.4241, allocations: 73.88 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.4242, allocations: 10.88 kB / 0.534 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.192e-05/0.4243, allocations: 25.55 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.4245, allocations: 34.83 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.4245, allocations: 4.125 kB / 0.534 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001992/0.4247, allocations: 100.1 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.541e-05/0.4248, allocations: 14.67 kB / 0.5341 GB, free: 11.17 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.4248, allocations: 23.98 kB / 0.5342 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002719/0.4251, allocations: 142.9 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.4251, allocations: 1.375 kB / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.4251, allocations: 0 / 0.5343 GB, free: 11.06 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.568e-06/0.4251, allocations: 0 / 0.5343 GB, free: 11.06 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.0005465/0.4257, allocations: 403.5 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.4257, allocations: 9.312 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.712e-05/0.4258, allocations: 9.234 kB / 0.5347 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002102/0.426, allocations: 197.2 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.401e-05/0.426, allocations: 384 / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.9e-05/0.4261, allocations: 11.31 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001592/0.4262, allocations: 62.8 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.4263, allocations: 5.156 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.251e-05/0.4263, allocations: 0 / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4263, allocations: 5.25 kB / 0.535 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.065e-05/0.4264, allocations: 20.17 kB / 0.535 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003649/0.4267, allocations: 287.3 kB / 0.5353 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002133/0.427, allocations: 39.75 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.684e-05/0.427, allocations: 19.8 kB / 0.5353 GB, free: 9.973 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.4271, allocations: 4.734 kB / 0.5353 GB, free: 9.969 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.4271, allocations: 35.59 kB / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.4271, allocations: 0 / 0.5354 GB, free: 9.926 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005587/0.4277, allocations: 142 kB / 0.5355 GB, free: 9.84 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.185e-05/0.4277, allocations: 78.55 kB / 0.5356 GB, free: 9.746 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.4279, allocations: 141 kB / 0.5357 GB, free: 9.625 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.457e-05/0.4279, allocations: 26.83 kB / 0.5357 GB, free: 9.594 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.428, allocations: 95.5 kB / 0.5358 GB, free: 9.5 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.428, allocations: 20.92 kB / 0.5358 GB, free: 9.48 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.4281, allocations: 27.3 kB / 0.5359 GB, free: 9.453 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.409e-05/0.4282, allocations: 316.1 kB / 0.5362 GB, free: 9.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.18e-05/0.4282, allocations: 18.92 kB / 0.5362 GB, free: 9.129 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-05/0.4283, allocations: 34.31 kB / 0.5362 GB, free: 9.102 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001346/0.4285, allocations: 44.78 kB / 0.5363 GB, free: 9.078 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.4285, allocations: 4 kB / 0.5363 GB, free: 9.074 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002036/0.4287, allocations: 84.55 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.4287, allocations: 4.562 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.4287, allocations: 1.156 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.4287, allocations: 0 / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.705e-05/0.4288, allocations: 14.39 kB / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.491e-06/0.4288, allocations: 0 / 0.5364 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.4289, allocations: 7.438 kB / 0.5364 GB, free: 9.008 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.604e-06/0.4289, allocations: 10.25 kB / 0.5364 GB, free: 9 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.637e-05/0.429, allocations: 113.2 kB / 0.5365 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.522e-05/0.429, allocations: 8.484 kB / 0.5365 GB, free: 8.879 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002263/0.4292, allocations: 96.19 kB / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.4293, allocations: 1.125 kB / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.4293, allocations: 0 / 0.5366 GB, free: 8.805 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4293, allocations: 5.094 kB / 0.5366 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.4297, allocations: 354.4 kB / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.4297, allocations: 0 / 0.5369 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.744e-05/0.4298, allocations: 18.14 kB / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.4298, allocations: 0 / 0.537 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.4298, allocations: 5.344 kB / 0.537 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.4298, allocations: 3.938 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.4298, allocations: 1.188 kB / 0.537 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.4301, allocations: 179.8 kB / 0.5371 GB, free: 8.266 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.584e-05/0.4301, allocations: 83.41 kB / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.4302, allocations: 0 / 0.5372 GB, free: 8.168 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.4303, allocations: 15.42 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.4303, allocations: 1.719 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.4303, allocations: 1.906 kB / 0.5372 GB, free: 8.156 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001023/0.4304, allocations: 117 kB / 0.5373 GB, free: 8.062 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.4304, allocations: 4 kB / 0.5374 GB, free: 8.059 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002872/0.4307, allocations: 35.62 kB / 0.5374 GB, free: 8.047 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.001219/0.432, allocations: 0.4928 MB / 0.5379 GB, free: 7.781 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002188/0.4322, allocations: 43.78 kB / 0.5379 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.4322, allocations: 0 / 0.5379 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.697e-05/0.4323, allocations: 23.98 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.0003213/0.4326, allocations: 18.42 kB / 0.5379 GB, free: 7.75 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.4331, allocations: 168.4 kB / 0.5381 GB, free: 7.602 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002936/0.4334, allocations: 0.6936 MB / 0.5388 GB, free: 6.895 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.508e-05/0.4335, allocations: 14.5 kB / 0.5388 GB, free: 6.887 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.48e-05/0.4335, allocations: 17.83 kB / 0.5388 GB, free: 6.879 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.4335, allocations: 5.125 kB / 0.5388 GB, free: 6.875 MB / 398.1 MB Notification: Performance of Templates: time 0.005568/0.4391, allocations: 1.748 MB / 0.5405 GB, free: 5.965 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches