Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001408/0.001408, allocations: 117.2 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001629/0.001629, allocations: 208.6 kB / 18.74 MB, free: 4.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.398/1.398, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.22/0.22, allocations: 46.1 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001411/0.001411, allocations: 76.09 kB / 481.3 MB, free: 4.062 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3734/0.3748, allocations: 62.43 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.003167/0.378, allocations: 1.605 MB / 0.5326 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001255/0.3793, allocations: 0.5245 MB / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.015e-05/0.3794, allocations: 0 / 0.5331 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002891/0.3797, allocations: 33.81 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.3801, allocations: 72.06 kB / 0.5332 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3804, allocations: 98.09 kB / 0.5333 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.3806, allocations: 62.38 kB / 0.5333 GB, free: 11.78 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3807, allocations: 14.84 kB / 0.5334 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.222e-05/0.3808, allocations: 20.12 kB / 0.5334 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.3809, allocations: 22.73 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3809, allocations: 2.75 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.381, allocations: 40.61 kB / 0.5334 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.125e-05/0.3811, allocations: 20.03 kB / 0.5335 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.3812, allocations: 19.94 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001983/0.3814, allocations: 80.61 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3814, allocations: 1.375 kB / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.863e-06/0.3814, allocations: 0 / 0.5335 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.3814, allocations: 0 / 0.5335 GB, free: 11.64 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005834/0.382, allocations: 386.8 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.3821, allocations: 9.625 kB / 0.5339 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.3821, allocations: 12.97 kB / 0.5339 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.3824, allocations: 197.7 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.3824, allocations: 384 / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.452e-05/0.3824, allocations: 3.125 kB / 0.5341 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3826, allocations: 59.3 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3826, allocations: 1.375 kB / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.3826, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3826, allocations: 0 / 0.5342 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.193e-05/0.3827, allocations: 21.73 kB / 0.5342 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.3831, allocations: 280.2 kB / 0.5345 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002485/0.3833, allocations: 43 kB / 0.5345 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.3834, allocations: 15.81 kB / 0.5345 GB, free: 10.6 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/0.3834, allocations: 3.984 kB / 0.5345 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.457e-05/0.3835, allocations: 35.94 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.172e-06/0.3835, allocations: 4 kB / 0.5346 GB, free: 10.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005697/0.3841, allocations: 145.6 kB / 0.5347 GB, free: 10.46 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.3841, allocations: 56.77 kB / 0.5348 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001499/0.3843, allocations: 162.4 kB / 0.5349 GB, free: 10.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.3843, allocations: 25.7 kB / 0.5349 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.753e-05/0.3844, allocations: 100.2 kB / 0.535 GB, free: 10.14 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.3844, allocations: 18.55 kB / 0.5351 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.311e-05/0.3845, allocations: 21.83 kB / 0.5351 GB, free: 10.1 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.3846, allocations: 317.6 kB / 0.5354 GB, free: 9.781 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.7e-05/0.3847, allocations: 21.59 kB / 0.5354 GB, free: 9.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.344e-05/0.3847, allocations: 18.98 kB / 0.5354 GB, free: 9.762 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.3849, allocations: 44.25 kB / 0.5355 GB, free: 9.738 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.385, allocations: 4 kB / 0.5355 GB, free: 9.734 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002146/0.3852, allocations: 84.94 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.545e-05/0.3852, allocations: 5.281 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.3852, allocations: 1 kB / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.3852, allocations: 0 / 0.5356 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.685e-05/0.3853, allocations: 17.64 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3853, allocations: 1.312 kB / 0.5356 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.919e-05/0.3854, allocations: 6.906 kB / 0.5356 GB, free: 9.664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3854, allocations: 5.031 kB / 0.5356 GB, free: 9.66 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 (5): * Single equations (assignments): 5 * 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.182e-05/0.3855, allocations: 116.5 kB / 0.5357 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.365e-05/0.3855, allocations: 15.39 kB / 0.5357 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.3858, allocations: 92.94 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3858, allocations: 1.219 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.351e-06/0.3858, allocations: 1.281 kB / 0.5358 GB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.3858, allocations: 3.938 kB / 0.5358 GB, free: 9.457 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004469/0.3863, allocations: 343.2 kB / 0.5361 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3863, allocations: 0 / 0.5361 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.855e-05/0.3864, allocations: 14.69 kB / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.3864, allocations: 0 / 0.5361 GB, free: 9.105 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.3864, allocations: 13.2 kB / 0.5362 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3864, allocations: 3.938 kB / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3864, allocations: 0 / 0.5362 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/0.3867, allocations: 184.1 kB / 0.5363 GB, free: 8.926 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.467e-05/0.3867, allocations: 79.3 kB / 0.5364 GB, free: 8.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3868, allocations: 5.094 kB / 0.5364 GB, free: 8.828 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.687e-05/0.3868, allocations: 7.453 kB / 0.5364 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/0.3869, allocations: 2.094 kB / 0.5364 GB, free: 8.824 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.63e-06/0.3869, allocations: 1.188 kB / 0.5364 GB, free: 8.824 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001109/0.387, allocations: 126.7 kB / 0.5366 GB, free: 8.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.387, allocations: 4 kB / 0.5366 GB, free: 8.727 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.3873, allocations: 26.36 kB / 0.5366 GB, free: 8.711 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 (5): * Single equations (assignments): 5 * 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.001194/0.3885, allocations: 403.7 kB / 0.537 GB, free: 8.496 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000242/0.3887, allocations: 48.25 kB / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3887, allocations: 0 / 0.537 GB, free: 8.477 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.492e-05/0.3888, allocations: 23.42 kB / 0.537 GB, free: 8.469 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.3893, allocations: 24.84 kB / 0.5371 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005379/0.3898, allocations: 193.4 kB / 0.5372 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3902, allocations: 0.6918 MB / 0.5379 GB, free: 7.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.456e-05/0.3902, allocations: 18.34 kB / 0.5379 GB, free: 7.578 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.326e-05/0.3903, allocations: 15.09 kB / 0.5379 GB, free: 7.566 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3903, allocations: 0 / 0.5379 GB, free: 7.566 MB / 398.1 MB Notification: Performance of Templates: time 0.004712/0.395, allocations: 1.114 MB / 0.539 GB, free: 6.992 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches