Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.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.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001387/0.001387, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001803/0.001803, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.436/1.436, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2357/0.2357, allocations: 46.11 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 79.88 kB / 482 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.415/0.4163, allocations: 62.44 MB / 0.5317 GB, free: 13.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.004005/0.4204, allocations: 1.615 MB / 0.5333 GB, free: 12.58 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001258/0.4217, allocations: 0.5519 MB / 0.5338 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.4218, allocations: 1.469 kB / 0.5338 GB, free: 12.15 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004176/0.4223, allocations: 127 kB / 0.5339 GB, free: 12.09 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004423/0.4228, allocations: 122.4 kB / 0.534 GB, free: 12.02 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000447/0.4232, allocations: 122.4 kB / 0.5342 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002513/0.4235, allocations: 93.17 kB / 0.5342 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.4236, allocations: 17.61 kB / 0.5343 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001222/0.4237, allocations: 45.88 kB / 0.5343 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001834/0.4239, allocations: 86.48 kB / 0.5344 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.093e-05/0.424, allocations: 4.125 kB / 0.5344 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001377/0.4241, allocations: 44.86 kB / 0.5344 GB, free: 11.8 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.4242, allocations: 30.84 kB / 0.5345 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.968e-05/0.4242, allocations: 38.56 kB / 0.5345 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.4245, allocations: 123.6 kB / 0.5346 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4246, allocations: 1.375 kB / 0.5346 GB, free: 11.67 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4246, allocations: 0 / 0.5346 GB, free: 11.67 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.4246, allocations: 0 / 0.5346 GB, free: 11.67 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.0007295/0.4253, allocations: 439.4 kB / 0.535 GB, free: 11.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.4254, allocations: 13.53 kB / 0.535 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.425e-05/0.4254, allocations: 15.09 kB / 0.5351 GB, free: 11.22 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.4257, allocations: 209.6 kB / 0.5353 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.4257, allocations: 6.531 kB / 0.5353 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.4258, allocations: 2.844 kB / 0.5353 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.4259, allocations: 62.27 kB / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.426, allocations: 1.312 kB / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.426, allocations: 0 / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.426, allocations: 5.406 kB / 0.5353 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001148/0.4261, allocations: 31.19 kB / 0.5354 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.4266, allocations: 307.8 kB / 0.5357 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001233/0.4268, allocations: 44.16 kB / 0.5357 GB, free: 10.56 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.199e-05/0.4269, allocations: 21.75 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.977e-05/0.4269, allocations: 4 kB / 0.5357 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.4269, allocations: 36.72 kB / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.663e-06/0.4269, allocations: 0 / 0.5358 GB, free: 10.5 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.001006/0.428, allocations: 252.4 kB / 0.536 GB, free: 10.36 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.216e-05/0.428, allocations: 52.66 kB / 0.5361 GB, free: 10.29 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.4284, allocations: 282.8 kB / 0.5363 GB, free: 10.11 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.4284, allocations: 25.7 kB / 0.5363 GB, free: 10.08 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.4285, allocations: 112.1 kB / 0.5365 GB, free: 9.973 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.537e-05/0.4285, allocations: 26.62 kB / 0.5365 GB, free: 9.949 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.231e-05/0.4286, allocations: 24.42 kB / 0.5365 GB, free: 9.926 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.4287, allocations: 328 kB / 0.5368 GB, free: 9.602 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.223e-05/0.4288, allocations: 36.84 kB / 0.5369 GB, free: 9.582 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.439e-05/0.4289, allocations: 23.92 kB / 0.5369 GB, free: 9.574 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.4291, allocations: 77.88 kB / 0.5369 GB, free: 9.531 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4291, allocations: 3.938 kB / 0.537 GB, free: 9.527 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002536/0.4294, allocations: 112.1 kB / 0.5371 GB, free: 9.461 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.4294, allocations: 4.062 kB / 0.5371 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.417e-06/0.4294, allocations: 7.984 kB / 0.5371 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.4294, allocations: 5.719 kB / 0.5371 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.4295, allocations: 16.92 kB / 0.5371 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.413e-06/0.4295, allocations: 1.469 kB / 0.5371 GB, free: 9.445 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.759e-05/0.4296, allocations: 18.92 kB / 0.5371 GB, free: 9.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.4296, allocations: 2.188 kB / 0.5371 GB, free: 9.43 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 0.0001258/0.4298, allocations: 137.9 kB / 0.5372 GB, free: 9.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.4298, allocations: 10.47 kB / 0.5373 GB, free: 9.297 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003335/0.4301, allocations: 143.7 kB / 0.5374 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.4302, allocations: 1.5 kB / 0.5374 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.4302, allocations: 1.219 kB / 0.5374 GB, free: 9.199 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/0.4302, allocations: 3.938 kB / 0.5374 GB, free: 9.195 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.4308, allocations: 424.5 kB / 0.5378 GB, free: 8.801 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.4308, allocations: 4.031 kB / 0.5378 GB, free: 8.797 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.71e-05/0.4309, allocations: 17.73 kB / 0.5378 GB, free: 8.793 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/0.4309, allocations: 5.062 kB / 0.5378 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.4309, allocations: 2.344 kB / 0.5378 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.4309, allocations: 7.875 kB / 0.5378 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.431, allocations: 1.094 kB / 0.5378 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003064/0.4313, allocations: 217.7 kB / 0.538 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.4313, allocations: 92.48 kB / 0.5381 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.275e-05/0.4314, allocations: 6.281 kB / 0.5381 GB, free: 8.488 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.4314, allocations: 6.609 kB / 0.5381 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.663e-05/0.4315, allocations: 3.375 kB / 0.5382 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.4315, allocations: 3.312 kB / 0.5382 GB, free: 8.484 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002556/0.4318, allocations: 212.4 kB / 0.5384 GB, free: 8.355 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4318, allocations: 0 / 0.5384 GB, free: 8.355 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002747/0.4321, allocations: 15.94 kB / 0.5384 GB, free: 8.355 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.001136/0.4332, allocations: 466 kB / 0.5388 GB, free: 8.109 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002541/0.4335, allocations: 75.45 kB / 0.5389 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.4335, allocations: 0 / 0.5389 GB, free: 8.078 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001094/0.4336, allocations: 44.47 kB / 0.5389 GB, free: 8.059 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003899/0.434, allocations: 32.3 kB / 0.539 GB, free: 8.043 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007417/0.4347, allocations: 350.8 kB / 0.5393 GB, free: 7.789 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003419/0.4351, allocations: 0.7187 MB / 0.54 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.091e-05/0.4352, allocations: 22.39 kB / 0.54 GB, free: 7.059 MB / 398.1 MB Notification: Performance of SimCode: time 3.31e-07/0.4352, allocations: 0 / 0.54 GB, free: 7.059 MB / 398.1 MB Notification: Performance of Templates: time 0.005098/0.4403, allocations: 1.945 MB / 0.5419 GB, free: 6.051 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches