Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001571/0.001571, allocations: 117.8 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001971/0.001971, allocations: 199.8 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.54/1.541, 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.2223/0.2223, allocations: 46.1 MB / 344.3 MB, free: 11.53 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002601/0.002601, allocations: 79.88 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.4203, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test4): time 0.003684/0.4241, allocations: 1.65 MB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001274/0.4254, allocations: 0.5557 MB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.845e-05/0.4255, allocations: 5.312 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004134/0.4259, allocations: 88.98 kB / 0.5333 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003838/0.4263, allocations: 115.6 kB / 0.5334 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.4267, allocations: 118.7 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.4269, allocations: 100.6 kB / 0.5336 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.4271, allocations: 28.23 kB / 0.5336 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.712e-05/0.4272, allocations: 47.39 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002115/0.4274, allocations: 65.67 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.172e-05/0.4274, allocations: 5.25 kB / 0.5337 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.4276, allocations: 42.55 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.888e-05/0.4277, allocations: 31.92 kB / 0.5338 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.023e-05/0.4277, allocations: 42.77 kB / 0.5338 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002778/0.428, allocations: 132.6 kB / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.428, allocations: 0 / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.428, allocations: 0 / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.4281, allocations: 5.188 kB / 0.534 GB, free: 11.42 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006635/0.4287, allocations: 444.3 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/0.4288, allocations: 9.156 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.4288, allocations: 10.59 kB / 0.5344 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002409/0.4291, allocations: 210.5 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.4291, allocations: 3.625 kB / 0.5346 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.144e-05/0.4291, allocations: 7.75 kB / 0.5346 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.4293, allocations: 79.88 kB / 0.5347 GB, free: 10.67 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.4294, allocations: 9.219 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.4294, allocations: 0 / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-06/0.4294, allocations: 2.125 kB / 0.5347 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001342/0.4295, allocations: 39.94 kB / 0.5348 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004885/0.43, allocations: 344.1 kB / 0.5351 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/0.4302, allocations: 68.09 kB / 0.5351 GB, free: 10.26 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.773e-05/0.4303, allocations: 29.31 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.4303, allocations: 1.5 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.4303, allocations: 30.56 kB / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.4303, allocations: 0 / 0.5352 GB, free: 10.2 MB / 398.1 MB Notification: Performance of matching and sorting (n=13): time 0.00112/0.4315, allocations: 346.2 kB / 0.5355 GB, free: 10.02 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/0.4315, allocations: 53.81 kB / 0.5356 GB, free: 9.953 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002607/0.4318, allocations: 237.5 kB / 0.5358 GB, free: 9.789 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.244e-05/0.4318, allocations: 26.89 kB / 0.5358 GB, free: 9.758 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.371e-05/0.4319, allocations: 114.6 kB / 0.5359 GB, free: 9.648 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.432, allocations: 44.72 kB / 0.536 GB, free: 9.609 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.187e-05/0.432, allocations: 35.39 kB / 0.536 GB, free: 9.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001602/0.4322, allocations: 323.4 kB / 0.5363 GB, free: 9.258 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.4324, allocations: 43.5 kB / 0.5364 GB, free: 9.238 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001185/0.4325, allocations: 45.31 kB / 0.5364 GB, free: 9.219 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/0.4327, allocations: 117.3 kB / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.4328, allocations: 0 / 0.5365 GB, free: 9.156 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003253/0.4331, allocations: 159.2 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.4331, allocations: 5.312 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.4331, allocations: 0.7188 kB / 0.5367 GB, free: 9.062 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.4332, allocations: 4.875 kB / 0.5367 GB, free: 9.059 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001476/0.4333, allocations: 29.44 kB / 0.5367 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4333, allocations: 0 / 0.5367 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.92e-05/0.4334, allocations: 3.719 kB / 0.5367 GB, free: 9.051 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.4334, allocations: 3.281 kB / 0.5367 GB, free: 9.051 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 (13): * Single equations (assignments): 13 * 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.0001499/0.4336, allocations: 143.9 kB / 0.5369 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.584e-05/0.4336, allocations: 14.47 kB / 0.5369 GB, free: 8.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004266/0.434, allocations: 193.2 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.4341, allocations: 1.375 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.027e-06/0.4341, allocations: 1.219 kB / 0.5371 GB, free: 8.789 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.4341, allocations: 3.938 kB / 0.5371 GB, free: 8.785 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006862/0.4348, allocations: 0.5008 MB / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.4348, allocations: 0 / 0.5376 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.416e-05/0.4349, allocations: 33.23 kB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.4349, allocations: 1.094 kB / 0.5376 GB, free: 8.324 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.4349, allocations: 6.156 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.4349, allocations: 0.9375 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.4349, allocations: 1.031 kB / 0.5376 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003263/0.4352, allocations: 261.6 kB / 0.5378 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.111e-05/0.4353, allocations: 89.11 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.4353, allocations: 1.125 kB / 0.5379 GB, free: 8.012 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001521/0.4355, allocations: 7.609 kB / 0.5379 GB, free: 8.008 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.096e-05/0.4355, allocations: 9.469 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-05/0.4356, allocations: 7.672 kB / 0.538 GB, free: 8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001535/0.4357, allocations: 183 kB / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4357, allocations: 0 / 0.5381 GB, free: 7.883 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002691/0.436, allocations: 31.2 kB / 0.5382 GB, free: 7.871 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 (13): * Single equations (assignments): 13 * 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.001042/0.437, allocations: 451.5 kB / 0.5386 GB, free: 7.637 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003306/0.4374, allocations: 117.5 kB / 0.5387 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4374, allocations: 0 / 0.5387 GB, free: 7.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001342/0.4375, allocations: 59.91 kB / 0.5388 GB, free: 7.562 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003599/0.4379, allocations: 27.83 kB / 0.5388 GB, free: 7.543 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006369/0.4386, allocations: 334.2 kB / 0.5391 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.4389, allocations: 0.7205 MB / 0.5398 GB, free: 6.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.66e-05/0.439, allocations: 24.53 kB / 0.5398 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.439, allocations: 16.62 kB / 0.5398 GB, free: 6.574 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.439, allocations: 4 kB / 0.5398 GB, free: 6.57 MB / 398.1 MB Notification: Performance of Templates: time 0.004344/0.4434, allocations: 1.637 MB / 0.5414 GB, free: 5.742 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test4/Test4.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches