Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.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.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test18,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",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001196/0.001196, allocations: 118.2 kB / 17.79 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.001388/0.001388, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.36/1.36, 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.2303/0.2303, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 67.89 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4188/0.4211, allocations: 62.44 MB / 0.531 GB, free: 13.82 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test18): time 0.004224/0.4253, allocations: 1.616 MB / 0.5326 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001839/0.4272, allocations: 1.173 MB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.334e-05/0.4273, allocations: 5.375 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002523/0.4276, allocations: 27.97 kB / 0.5338 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003003/0.4279, allocations: 81.75 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003067/0.4282, allocations: 114.7 kB / 0.5339 GB, free: 11.48 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001797/0.4284, allocations: 83.38 kB / 0.534 GB, free: 11.43 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001254/0.4285, allocations: 22.98 kB / 0.534 GB, free: 11.42 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.502e-05/0.4286, allocations: 28.3 kB / 0.5341 GB, free: 11.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.4288, allocations: 40.2 kB / 0.5341 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.4288, allocations: 8.062 kB / 0.5341 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001751/0.429, allocations: 101.1 kB / 0.5342 GB, free: 11.33 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.285e-05/0.429, allocations: 17.05 kB / 0.5342 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.969e-05/0.4291, allocations: 33.62 kB / 0.5343 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002795/0.4294, allocations: 147.6 kB / 0.5344 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4294, allocations: 4 kB / 0.5344 GB, free: 11.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4294, allocations: 0 / 0.5344 GB, free: 11.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.4294, allocations: 0 / 0.5344 GB, free: 11.2 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006053/0.43, allocations: 418.1 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.4301, allocations: 8.781 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.743e-05/0.4301, allocations: 9.188 kB / 0.5348 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002357/0.4304, allocations: 205.7 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.163e-05/0.4304, allocations: 1.656 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.502e-05/0.4304, allocations: 2.875 kB / 0.535 GB, free: 10.54 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000189/0.4306, allocations: 92.16 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.4306, allocations: 0 / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.4307, allocations: 1.312 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.611e-06/0.4307, allocations: 1.312 kB / 0.5351 GB, free: 10.46 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001233/0.4308, allocations: 40.23 kB / 0.5352 GB, free: 10.44 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004689/0.4313, allocations: 309.7 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.4314, allocations: 58.12 kB / 0.5355 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.825e-05/0.4315, allocations: 21.91 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.4315, allocations: 1.156 kB / 0.5355 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.4316, allocations: 31.81 kB / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.072e-06/0.4316, allocations: 0 / 0.5356 GB, free: 10.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006828/0.4323, allocations: 210.2 kB / 0.5358 GB, free: 9.895 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.122e-05/0.4323, allocations: 78.36 kB / 0.5358 GB, free: 9.801 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.4325, allocations: 156.9 kB / 0.536 GB, free: 9.668 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.4325, allocations: 26.7 kB / 0.536 GB, free: 9.637 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.817e-05/0.4326, allocations: 92.3 kB / 0.5361 GB, free: 9.547 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.4326, allocations: 34.2 kB / 0.5361 GB, free: 9.516 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.153e-05/0.4327, allocations: 21.22 kB / 0.5362 GB, free: 9.496 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.4328, allocations: 325.3 kB / 0.5365 GB, free: 9.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.293e-05/0.4329, allocations: 35.72 kB / 0.5365 GB, free: 9.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.417e-05/0.433, allocations: 40.64 kB / 0.5365 GB, free: 9.125 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.4332, allocations: 76.88 kB / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.4332, allocations: 0 / 0.5366 GB, free: 9.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002571/0.4335, allocations: 112.2 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.4335, allocations: 7.25 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.4335, allocations: 0 / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.4336, allocations: 1.438 kB / 0.5367 GB, free: 9.012 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.4337, allocations: 21.52 kB / 0.5367 GB, free: 9.004 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.303e-06/0.4337, allocations: 5.125 kB / 0.5367 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.825e-05/0.4337, allocations: 7.766 kB / 0.5368 GB, free: 8.996 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4338, allocations: 1.344 kB / 0.5368 GB, free: 8.996 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.0001065/0.4339, allocations: 124.2 kB / 0.5369 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.824e-05/0.4339, allocations: 7.969 kB / 0.5369 GB, free: 8.867 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003081/0.4342, allocations: 127.2 kB / 0.537 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.4342, allocations: 1.281 kB / 0.537 GB, free: 8.781 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.4343, allocations: 9.156 kB / 0.537 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.4343, allocations: 0 / 0.537 GB, free: 8.773 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004836/0.4347, allocations: 401 kB / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.4348, allocations: 0 / 0.5374 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.158e-05/0.4348, allocations: 17.27 kB / 0.5374 GB, free: 8.391 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.4349, allocations: 9 kB / 0.5374 GB, free: 8.383 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.918e-06/0.4349, allocations: 5.156 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.4349, allocations: 0 / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4349, allocations: 1.125 kB / 0.5374 GB, free: 8.379 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.4352, allocations: 210.7 kB / 0.5376 GB, free: 8.203 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.923e-05/0.4352, allocations: 83.39 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.4352, allocations: 0.9688 kB / 0.5377 GB, free: 8.105 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4354, allocations: 8.328 kB / 0.5377 GB, free: 8.102 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.4354, allocations: 6.25 kB / 0.5377 GB, free: 8.098 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.4354, allocations: 6.562 kB / 0.5377 GB, free: 8.094 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.578e-05/0.4355, allocations: 121 kB / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4355, allocations: 0 / 0.5378 GB, free: 7.996 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002899/0.4358, allocations: 38.89 kB / 0.5379 GB, free: 7.984 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 (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.001158/0.437, allocations: 0.4936 MB / 0.5384 GB, free: 7.719 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.4373, allocations: 79.3 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.4373, allocations: 1 kB / 0.5384 GB, free: 7.684 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.229e-05/0.4374, allocations: 39.36 kB / 0.5385 GB, free: 7.668 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.4377, allocations: 19.59 kB / 0.5385 GB, free: 7.66 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004432/0.4382, allocations: 206.9 kB / 0.5387 GB, free: 7.492 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002429/0.4384, allocations: 0.6941 MB / 0.5394 GB, free: 6.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.908e-05/0.4385, allocations: 25.5 kB / 0.5394 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.4386, allocations: 19.69 kB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.4386, allocations: 0 / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of Templates: time 0.004673/0.4433, allocations: 1.867 MB / 0.5412 GB, free: 5.793 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test18/Test18.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test18.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches