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.00123/0.00123, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001254/0.001254, allocations: 201.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, 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.2381/0.2381, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 79.88 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4148, allocations: 62.43 MB / 0.531 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.00269/0.4176, allocations: 1.609 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.4192, allocations: 1.153 MB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.4193, allocations: 1.156 kB / 0.5337 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002187/0.4195, allocations: 20.27 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.4198, allocations: 85.05 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002669/0.4201, allocations: 102.8 kB / 0.5339 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001582/0.4203, allocations: 66.67 kB / 0.534 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.4204, allocations: 10.41 kB / 0.534 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.85e-05/0.4204, allocations: 30.12 kB / 0.534 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.4206, allocations: 26.98 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.4206, allocations: 3.375 kB / 0.534 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001931/0.4208, allocations: 103.7 kB / 0.5341 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.447e-05/0.4209, allocations: 15.27 kB / 0.5341 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.207e-05/0.4209, allocations: 28.52 kB / 0.5342 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003583/0.4213, allocations: 142.8 kB / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.4213, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4213, allocations: 0 / 0.5343 GB, free: 11.07 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.014e-05/0.4214, allocations: 1.5 kB / 0.5343 GB, free: 11.07 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.0006852/0.4221, allocations: 398.5 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.221e-05/0.4221, allocations: 9.625 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.916e-05/0.4222, allocations: 9.016 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002613/0.4224, allocations: 200.4 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/0.4225, allocations: 5.75 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.526e-05/0.4225, allocations: 1.75 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.4227, allocations: 67.89 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.953e-05/0.4228, allocations: 1.375 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.4228, allocations: 0 / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.4228, allocations: 1.375 kB / 0.535 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/0.4229, allocations: 24.3 kB / 0.535 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.4233, allocations: 282.7 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002079/0.4235, allocations: 44.38 kB / 0.5353 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.337e-05/0.4236, allocations: 15.73 kB / 0.5353 GB, free: 9.992 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.4236, allocations: 3.938 kB / 0.5353 GB, free: 9.988 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.4236, allocations: 36.02 kB / 0.5354 GB, free: 9.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.4236, allocations: 4 kB / 0.5354 GB, free: 9.941 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005414/0.4242, allocations: 138.1 kB / 0.5355 GB, free: 9.859 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.4242, allocations: 82.48 kB / 0.5356 GB, free: 9.762 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.4244, allocations: 141.3 kB / 0.5357 GB, free: 9.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.429e-05/0.4244, allocations: 25.7 kB / 0.5357 GB, free: 9.609 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.299e-05/0.4245, allocations: 96.25 kB / 0.5358 GB, free: 9.516 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.4245, allocations: 21.17 kB / 0.5358 GB, free: 9.496 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.565e-05/0.4245, allocations: 23.2 kB / 0.5359 GB, free: 9.473 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.4246, allocations: 320.2 kB / 0.5362 GB, free: 9.152 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.758e-05/0.4247, allocations: 18.98 kB / 0.5362 GB, free: 9.145 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.4248, allocations: 30.08 kB / 0.5362 GB, free: 9.121 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.4249, allocations: 48.55 kB / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.4249, allocations: 0 / 0.5363 GB, free: 9.094 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001791/0.4251, allocations: 93.2 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4251, allocations: 4.531 kB / 0.5364 GB, free: 9.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.4251, allocations: 5.109 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4252, allocations: 0 / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.139e-05/0.4252, allocations: 10.41 kB / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.4252, allocations: 0 / 0.5364 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.806e-05/0.4253, allocations: 11.23 kB / 0.5364 GB, free: 9.016 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.4253, allocations: 6.281 kB / 0.5364 GB, free: 9.012 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.453e-05/0.4254, allocations: 113.2 kB / 0.5365 GB, free: 8.895 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.407e-05/0.4254, allocations: 7.328 kB / 0.5365 GB, free: 8.891 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002359/0.4257, allocations: 93.22 kB / 0.5366 GB, free: 8.82 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.4257, allocations: 5.172 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.4257, allocations: 0 / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.4257, allocations: 1.031 kB / 0.5366 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003954/0.4261, allocations: 354.6 kB / 0.5369 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.4261, allocations: 0 / 0.5369 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.12e-05/0.4262, allocations: 17.11 kB / 0.537 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.4262, allocations: 5.438 kB / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.4262, allocations: 0 / 0.537 GB, free: 8.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.4262, allocations: 5.562 kB / 0.537 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4262, allocations: 0 / 0.537 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002145/0.4264, allocations: 179.7 kB / 0.5371 GB, free: 8.281 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.162e-05/0.4265, allocations: 83.44 kB / 0.5372 GB, free: 8.184 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.944e-05/0.4265, allocations: 4.062 kB / 0.5372 GB, free: 8.18 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.321e-05/0.4266, allocations: 8.062 kB / 0.5372 GB, free: 8.176 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.021e-05/0.4266, allocations: 14.02 kB / 0.5372 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.679e-06/0.4267, allocations: 0.7812 kB / 0.5372 GB, free: 8.164 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001144/0.4268, allocations: 121.3 kB / 0.5374 GB, free: 8.066 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4268, allocations: 0 / 0.5374 GB, free: 8.066 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002871/0.4271, allocations: 34.94 kB / 0.5374 GB, free: 8.055 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.001099/0.4282, allocations: 488.6 kB / 0.5379 GB, free: 7.801 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002167/0.4284, allocations: 44.78 kB / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4284, allocations: 0 / 0.5379 GB, free: 7.785 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.724e-05/0.4285, allocations: 23.61 kB / 0.5379 GB, free: 7.777 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.4288, allocations: 21.2 kB / 0.5379 GB, free: 7.766 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004091/0.4292, allocations: 164.8 kB / 0.5381 GB, free: 7.621 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002338/0.4295, allocations: 0.6934 MB / 0.5388 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.281e-05/0.4295, allocations: 14.86 kB / 0.5388 GB, free: 6.906 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.4296, allocations: 25.39 kB / 0.5388 GB, free: 6.891 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4296, allocations: 0 / 0.5388 GB, free: 6.891 MB / 398.1 MB Notification: Performance of Templates: time 0.004859/0.4345, allocations: 1.747 MB / 0.5405 GB, free: 5.98 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