Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001142/0.001142, allocations: 113.2 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001175, allocations: 216.5 kB / 18.74 MB, free: 4.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.439/1.439, allocations: 227.4 MB / 246.9 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.2253/0.2253, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 76.09 kB / 481.3 MB, free: 4.055 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3707, allocations: 62.44 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003074/0.3739, allocations: 1.611 MB / 0.5326 GB, free: 12.37 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001015/0.3749, allocations: 0.539 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.55e-05/0.375, allocations: 1.375 kB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.3752, allocations: 84.69 kB / 0.5332 GB, free: 11.9 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.3755, allocations: 106.8 kB / 0.5333 GB, free: 11.84 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002752/0.3758, allocations: 109.9 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.376, allocations: 92.42 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.3761, allocations: 17.25 kB / 0.5335 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.3762, allocations: 36.52 kB / 0.5336 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001074/0.3763, allocations: 56.53 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.3763, allocations: 2.25 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.333e-05/0.3764, allocations: 46.2 kB / 0.5337 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.242e-05/0.3764, allocations: 24.3 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.078e-05/0.3765, allocations: 29.38 kB / 0.5337 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.3767, allocations: 109.5 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.3767, allocations: 0 / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3767, allocations: 5 kB / 0.5338 GB, free: 11.53 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.3767, allocations: 4 kB / 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.0005101/0.3772, allocations: 413.8 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.067e-05/0.3773, allocations: 9.062 kB / 0.5342 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.89e-05/0.3773, allocations: 9.375 kB / 0.5342 GB, free: 11.1 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001957/0.3775, allocations: 205.2 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.3775, allocations: 5.453 kB / 0.5344 GB, free: 10.87 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.3776, allocations: 6.812 kB / 0.5344 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001435/0.3777, allocations: 54.8 kB / 0.5345 GB, free: 10.82 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.3777, allocations: 9.156 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.3778, allocations: 0 / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.3778, allocations: 1.125 kB / 0.5345 GB, free: 10.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000107/0.3779, allocations: 32.03 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.3783, allocations: 304.1 kB / 0.5348 GB, free: 10.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001144/0.3784, allocations: 52.44 kB / 0.5349 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.3785, allocations: 20.84 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.857e-05/0.3785, allocations: 1.25 kB / 0.5349 GB, free: 10.42 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.182e-05/0.3786, allocations: 30.56 kB / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.3786, allocations: 0 / 0.5349 GB, free: 10.38 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008695/0.3794, allocations: 247.1 kB / 0.5352 GB, free: 10.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.3795, allocations: 55.34 kB / 0.5352 GB, free: 10.18 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002054/0.3797, allocations: 211.2 kB / 0.5354 GB, free: 10.03 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.48e-05/0.3797, allocations: 27.08 kB / 0.5354 GB, free: 10 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.035e-05/0.3798, allocations: 105.3 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.199e-05/0.3798, allocations: 30.11 kB / 0.5356 GB, free: 9.871 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.118e-05/0.3799, allocations: 24.53 kB / 0.5356 GB, free: 9.848 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.38, allocations: 322.6 kB / 0.5359 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/0.3801, allocations: 32.91 kB / 0.5359 GB, free: 9.512 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.359e-05/0.3802, allocations: 32.11 kB / 0.536 GB, free: 9.496 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001644/0.3803, allocations: 69.81 kB / 0.536 GB, free: 9.461 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.3804, allocations: 0 / 0.536 GB, free: 9.461 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002259/0.3806, allocations: 117.4 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.3806, allocations: 5.438 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.3806, allocations: 0 / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3806, allocations: 1.125 kB / 0.5361 GB, free: 9.387 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001021/0.3807, allocations: 18.05 kB / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.762e-06/0.3808, allocations: 0 / 0.5362 GB, free: 9.383 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.723e-05/0.3808, allocations: 11.11 kB / 0.5362 GB, free: 9.375 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.3808, allocations: 2.375 kB / 0.5362 GB, free: 9.375 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.0001004/0.381, allocations: 129.7 kB / 0.5363 GB, free: 9.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.831e-05/0.381, allocations: 17.05 kB / 0.5363 GB, free: 9.238 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.3813, allocations: 134.3 kB / 0.5364 GB, free: 9.145 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.3813, allocations: 4.969 kB / 0.5364 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3813, allocations: 0 / 0.5364 GB, free: 9.141 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3813, allocations: 5.125 kB / 0.5364 GB, free: 9.137 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005136/0.3819, allocations: 423 kB / 0.5369 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.3819, allocations: 1.062 kB / 0.5369 GB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.3819, allocations: 18.11 kB / 0.5369 GB, free: 8.734 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.092e-06/0.382, allocations: 5.031 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.382, allocations: 1.125 kB / 0.5369 GB, free: 8.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.382, allocations: 5.141 kB / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.382, allocations: 0 / 0.5369 GB, free: 8.727 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002796/0.3823, allocations: 224.8 kB / 0.5371 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.054e-05/0.3823, allocations: 88.39 kB / 0.5372 GB, free: 8.434 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.912e-05/0.3824, allocations: 5.219 kB / 0.5372 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.3824, allocations: 7.203 kB / 0.5372 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.766e-05/0.3825, allocations: 7.188 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.722e-06/0.3825, allocations: 3.375 kB / 0.5372 GB, free: 8.422 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001395/0.3826, allocations: 174.9 kB / 0.5374 GB, free: 8.301 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3826, allocations: 4 kB / 0.5374 GB, free: 8.297 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002603/0.3829, allocations: 22.69 kB / 0.5374 GB, free: 8.289 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.001019/0.3839, allocations: 443.6 kB / 0.5378 GB, free: 8.062 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002403/0.3842, allocations: 83.38 kB / 0.5379 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3842, allocations: 0 / 0.5379 GB, free: 8.023 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001041/0.3843, allocations: 43.91 kB / 0.5379 GB, free: 8.004 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000391/0.3847, allocations: 22.19 kB / 0.538 GB, free: 7.996 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005538/0.3853, allocations: 268.2 kB / 0.5382 GB, free: 7.797 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.3856, allocations: 0.7081 MB / 0.5389 GB, free: 7.086 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.027e-05/0.3856, allocations: 24.31 kB / 0.5389 GB, free: 7.074 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.375e-05/0.3857, allocations: 13.41 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3857, allocations: 1.281 kB / 0.5389 GB, free: 7.066 MB / 398.1 MB Notification: Performance of Templates: time 0.004142/0.3898, allocations: 1.396 MB / 0.5403 GB, free: 6.355 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches