Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001669/0.001669, allocations: 115.5 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002011/0.002011, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.646/1.646, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2501/0.2501, allocations: 46.1 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 76.09 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4172/0.4187, allocations: 62.42 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test34): time 0.003548/0.4223, allocations: 1.624 MB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001049/0.4234, allocations: 0.5326 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.199e-05/0.4234, allocations: 5.281 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003134/0.4238, allocations: 81.89 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000338/0.4241, allocations: 101.8 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002724/0.4244, allocations: 87.19 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001836/0.4246, allocations: 89.02 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001198/0.4247, allocations: 16.53 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.06e-05/0.4248, allocations: 38.67 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001201/0.4249, allocations: 52.45 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.4249, allocations: 2.312 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.658e-05/0.425, allocations: 49.47 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.055e-05/0.4251, allocations: 23.52 kB / 0.5336 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.4252, allocations: 30.12 kB / 0.5337 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.4254, allocations: 109.2 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.4254, allocations: 5.125 kB / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.4254, allocations: 0 / 0.5338 GB, free: 11.52 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.4254, allocations: 0 / 0.5338 GB, free: 11.52 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005493/0.426, allocations: 411.6 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.426, allocations: 9.969 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.034e-05/0.4261, allocations: 13.34 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/0.4263, allocations: 212.6 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4263, allocations: 1.812 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.082e-05/0.4263, allocations: 2.938 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.4265, allocations: 62.45 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4265, allocations: 0 / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.04e-05/0.4265, allocations: 1.156 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.4265, allocations: 1.531 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.81e-05/0.4266, allocations: 26.94 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003888/0.427, allocations: 298.8 kB / 0.5348 GB, free: 10.47 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.4271, allocations: 47 kB / 0.5348 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.092e-05/0.4272, allocations: 23.8 kB / 0.5348 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.411e-05/0.4272, allocations: 5.438 kB / 0.5348 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.4272, allocations: 31.94 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4272, allocations: 0 / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008751/0.4281, allocations: 221.8 kB / 0.5351 GB, free: 10.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.4282, allocations: 56.72 kB / 0.5351 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002421/0.4284, allocations: 209.8 kB / 0.5353 GB, free: 10.04 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.4285, allocations: 31.08 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.802e-05/0.4285, allocations: 109.1 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.477e-05/0.4286, allocations: 31.42 kB / 0.5355 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.287e-05/0.4286, allocations: 23.38 kB / 0.5355 GB, free: 9.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4288, allocations: 322.3 kB / 0.5358 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.441e-05/0.4288, allocations: 30.3 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.909e-05/0.4289, allocations: 29.78 kB / 0.5359 GB, free: 9.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.4291, allocations: 68.5 kB / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4291, allocations: 0 / 0.536 GB, free: 9.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002134/0.4293, allocations: 103.8 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.4293, allocations: 5.406 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.4293, allocations: 1.031 kB / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.4294, allocations: 0 / 0.5361 GB, free: 9.391 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.943e-05/0.4295, allocations: 18.3 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.4295, allocations: 1.031 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.4295, allocations: 10.7 kB / 0.5361 GB, free: 9.379 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.4295, allocations: 2.594 kB / 0.5361 GB, free: 9.379 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 (8): * Single equations (assignments): 8 * 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.049e-05/0.4296, allocations: 128.3 kB / 0.5362 GB, free: 9.254 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.53e-05/0.4297, allocations: 12.69 kB / 0.5362 GB, free: 9.246 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002822/0.43, allocations: 120.4 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.43, allocations: 1.031 kB / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.43, allocations: 0 / 0.5363 GB, free: 9.16 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.087e-06/0.43, allocations: 8.891 kB / 0.5363 GB, free: 9.152 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.4305, allocations: 410.3 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4305, allocations: 1.188 kB / 0.5367 GB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.16e-05/0.4306, allocations: 17.48 kB / 0.5368 GB, free: 8.754 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.4306, allocations: 5.125 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.4306, allocations: 1.031 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.4306, allocations: 1.062 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4306, allocations: 1.125 kB / 0.5368 GB, free: 8.75 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.4309, allocations: 208.4 kB / 0.537 GB, free: 8.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.431, allocations: 92.48 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.431, allocations: 1.188 kB / 0.5371 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.4311, allocations: 7.359 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.657e-05/0.4311, allocations: 3.344 kB / 0.5371 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.4312, allocations: 6.188 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001498/0.4313, allocations: 171.4 kB / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4313, allocations: 0 / 0.5372 GB, free: 8.34 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002611/0.4316, allocations: 21.8 kB / 0.5373 GB, free: 8.332 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (8): * Single equations (assignments): 8 * 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.001096/0.4327, allocations: 467.1 kB / 0.5377 GB, free: 8.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002228/0.4329, allocations: 65.39 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.4329, allocations: 0.8438 kB / 0.5378 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.339e-05/0.433, allocations: 42.28 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003612/0.4334, allocations: 14.88 kB / 0.5378 GB, free: 8.035 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005396/0.4339, allocations: 269.8 kB / 0.5381 GB, free: 7.828 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.4343, allocations: 0.703 MB / 0.5388 GB, free: 7.121 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.344e-05/0.4343, allocations: 11.47 kB / 0.5388 GB, free: 7.117 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.382e-05/0.4344, allocations: 13.72 kB / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.4344, allocations: 0 / 0.5388 GB, free: 7.109 MB / 398.1 MB Notification: Performance of Templates: time 0.004165/0.4385, allocations: 1.371 MB / 0.5401 GB, free: 6.406 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches