Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.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.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test34,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001136/0.001136, allocations: 117.7 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001127/0.001127, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.451/1.451, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2259/0.2259, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 75.88 kB / 481.3 MB, free: 4.031 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3881/0.3895, allocations: 62.44 MB / 0.531 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test34): time 0.002887/0.3925, allocations: 1.614 MB / 0.5326 GB, free: 12.35 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009511/0.3934, allocations: 0.543 MB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.738e-05/0.3935, allocations: 1.312 kB / 0.5331 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.3938, allocations: 77.08 kB / 0.5332 GB, free: 11.89 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002922/0.3941, allocations: 105.8 kB / 0.5333 GB, free: 11.82 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002979/0.3944, allocations: 116.5 kB / 0.5334 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.3946, allocations: 93.58 kB / 0.5335 GB, free: 11.69 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3947, allocations: 12.19 kB / 0.5335 GB, free: 11.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.153e-05/0.3947, allocations: 39.89 kB / 0.5336 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.3949, allocations: 52.73 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.467e-05/0.3949, allocations: 2.688 kB / 0.5336 GB, free: 11.64 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.623e-05/0.395, allocations: 50.38 kB / 0.5337 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.3951, allocations: 20.55 kB / 0.5337 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.137e-05/0.3951, allocations: 32.19 kB / 0.5337 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002059/0.3953, allocations: 105.6 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.3953, allocations: 0.9688 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3954, allocations: 3.938 kB / 0.5338 GB, free: 11.51 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3954, allocations: 7.984 kB / 0.5338 GB, free: 11.5 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.0004878/0.3959, allocations: 409.5 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.3959, allocations: 10.62 kB / 0.5342 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3959, allocations: 8.906 kB / 0.5342 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002075/0.3962, allocations: 205.2 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.3962, allocations: 5.688 kB / 0.5344 GB, free: 10.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3962, allocations: 7.125 kB / 0.5344 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001499/0.3964, allocations: 54.17 kB / 0.5345 GB, free: 10.8 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3964, allocations: 13.27 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.879e-06/0.3964, allocations: 0 / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.673e-06/0.3964, allocations: 1.375 kB / 0.5345 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001034/0.3965, allocations: 35.03 kB / 0.5345 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.3969, allocations: 300.4 kB / 0.5348 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.397, allocations: 48.42 kB / 0.5349 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.055e-05/0.3971, allocations: 21.11 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.3971, allocations: 1.375 kB / 0.5349 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.583e-05/0.3972, allocations: 34.64 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.3972, allocations: 0 / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008944/0.3981, allocations: 243.1 kB / 0.5352 GB, free: 10.22 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3981, allocations: 51.41 kB / 0.5352 GB, free: 10.16 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002194/0.3984, allocations: 214.8 kB / 0.5354 GB, free: 10.01 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3984, allocations: 26.8 kB / 0.5354 GB, free: 9.98 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.425e-05/0.3984, allocations: 105.6 kB / 0.5355 GB, free: 9.879 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.3985, allocations: 30.86 kB / 0.5356 GB, free: 9.852 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.886e-05/0.3985, allocations: 20.31 kB / 0.5356 GB, free: 9.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.3986, allocations: 326 kB / 0.5359 GB, free: 9.508 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-05/0.3987, allocations: 32 kB / 0.5359 GB, free: 9.492 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.851e-05/0.3988, allocations: 29.2 kB / 0.536 GB, free: 9.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001628/0.399, allocations: 79.12 kB / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.92e-07/0.399, allocations: 0 / 0.536 GB, free: 9.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003059/0.3993, allocations: 112.6 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3993, allocations: 4.969 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.3994, allocations: 0.8438 kB / 0.5361 GB, free: 9.367 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.3994, allocations: 3.938 kB / 0.5361 GB, free: 9.363 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.776e-05/0.3995, allocations: 18.7 kB / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.3995, allocations: 0 / 0.5362 GB, free: 9.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.325e-05/0.3995, allocations: 7.781 kB / 0.5362 GB, free: 9.355 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.897e-06/0.3995, allocations: 5.516 kB / 0.5362 GB, free: 9.352 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 8.574e-05/0.3996, allocations: 125.1 kB / 0.5363 GB, free: 9.23 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.564e-05/0.3997, allocations: 17.22 kB / 0.5363 GB, free: 9.219 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/0.4, allocations: 138.4 kB / 0.5364 GB, free: 9.121 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.339e-06/0.4, allocations: 5.094 kB / 0.5364 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.4, allocations: 3.938 kB / 0.5365 GB, free: 9.113 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4, allocations: 5.125 kB / 0.5365 GB, free: 9.109 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005135/0.4005, allocations: 418.5 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.4006, allocations: 1.188 kB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.117e-05/0.4006, allocations: 17.8 kB / 0.5369 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.4006, allocations: 5.312 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.4007, allocations: 1.375 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.4007, allocations: 1.156 kB / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.4007, allocations: 0 / 0.5369 GB, free: 8.707 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002798/0.401, allocations: 226.2 kB / 0.5371 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.401, allocations: 87.45 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.401, allocations: 5.344 kB / 0.5372 GB, free: 8.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.341e-05/0.4011, allocations: 7.203 kB / 0.5372 GB, free: 8.406 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.464e-05/0.4012, allocations: 7.672 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.642e-06/0.4012, allocations: 2.219 kB / 0.5372 GB, free: 8.402 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001401/0.4013, allocations: 170.8 kB / 0.5374 GB, free: 8.285 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.4013, allocations: 5.219 kB / 0.5374 GB, free: 8.281 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002578/0.4016, allocations: 26.61 kB / 0.5374 GB, free: 8.27 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.001003/0.4026, allocations: 448.9 kB / 0.5378 GB, free: 8.039 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00024/0.4028, allocations: 82.88 kB / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.4029, allocations: 0 / 0.5379 GB, free: 8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.909e-05/0.403, allocations: 44.31 kB / 0.5379 GB, free: 7.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004257/0.4034, allocations: 14.53 kB / 0.538 GB, free: 7.977 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005655/0.404, allocations: 271.3 kB / 0.5382 GB, free: 7.773 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003212/0.4043, allocations: 0.7088 MB / 0.5389 GB, free: 7.062 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.98e-05/0.4044, allocations: 20.58 kB / 0.5389 GB, free: 7.055 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.543e-05/0.4044, allocations: 13.88 kB / 0.5389 GB, free: 7.047 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4044, allocations: 0 / 0.5389 GB, free: 7.047 MB / 398.1 MB Notification: Performance of Templates: time 0.004323/0.4088, allocations: 1.41 MB / 0.5403 GB, free: 6.32 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test34/Test34.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test34.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches