Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.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.Test32,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.Test32") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test32,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.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001457/0.001457, allocations: 115.7 kB / 18.45 MB, free: 4.641 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00176/0.00176, allocations: 217.9 kB / 19.41 MB, free: 3.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.445/1.445, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.221/0.221, allocations: 46.11 MB / 344.9 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 76.09 kB / 482 MB, free: 4.07 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4039/0.4055, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test32): time 0.003306/0.4089, allocations: 1.616 MB / 0.5333 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.41, allocations: 0.552 MB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.41, allocations: 1.375 kB / 0.5338 GB, free: 11.91 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000334/0.4104, allocations: 106.4 kB / 0.5339 GB, free: 11.86 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003283/0.4107, allocations: 119.2 kB / 0.534 GB, free: 11.79 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003209/0.4111, allocations: 114.3 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001921/0.4113, allocations: 88.25 kB / 0.5342 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.4114, allocations: 20.7 kB / 0.5342 GB, free: 11.66 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.4115, allocations: 43.45 kB / 0.5343 GB, free: 11.63 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001436/0.4116, allocations: 65.31 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.882e-05/0.4117, allocations: 3.438 kB / 0.5343 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000111/0.4118, allocations: 48.56 kB / 0.5344 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.439e-05/0.4118, allocations: 21.7 kB / 0.5344 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.4119, allocations: 38.34 kB / 0.5344 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.4121, allocations: 114 kB / 0.5345 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.4122, allocations: 4 kB / 0.5346 GB, free: 11.47 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.4122, allocations: 0 / 0.5346 GB, free: 11.47 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.4122, allocations: 1.312 kB / 0.5346 GB, free: 11.47 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.0005947/0.4128, allocations: 427.9 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4128, allocations: 14.16 kB / 0.535 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.311e-05/0.4129, allocations: 10.59 kB / 0.535 GB, free: 11.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002273/0.4131, allocations: 214.9 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.314e-06/0.4131, allocations: 5.375 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.4132, allocations: 3.438 kB / 0.5352 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.4133, allocations: 62.64 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.4133, allocations: 1.344 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4134, allocations: 0 / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.4134, allocations: 1.312 kB / 0.5353 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001073/0.4135, allocations: 35.33 kB / 0.5353 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004481/0.4139, allocations: 314.5 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.4141, allocations: 44.44 kB / 0.5356 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.267e-05/0.4141, allocations: 25.12 kB / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.4141, allocations: 0 / 0.5357 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.4142, allocations: 31.94 kB / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.4142, allocations: 0 / 0.5357 GB, free: 10.3 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009091/0.4151, allocations: 243.1 kB / 0.5359 GB, free: 10.16 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.445e-05/0.4152, allocations: 52.78 kB / 0.536 GB, free: 10.1 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002567/0.4154, allocations: 258.9 kB / 0.5362 GB, free: 9.934 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.4154, allocations: 25.7 kB / 0.5362 GB, free: 9.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.276e-05/0.4155, allocations: 114.7 kB / 0.5364 GB, free: 9.793 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.413e-05/0.4156, allocations: 26.94 kB / 0.5364 GB, free: 9.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.4156, allocations: 24.27 kB / 0.5364 GB, free: 9.746 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001204/0.4157, allocations: 327.3 kB / 0.5367 GB, free: 9.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.4158, allocations: 24.27 kB / 0.5367 GB, free: 9.414 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.67e-05/0.4159, allocations: 33.06 kB / 0.5368 GB, free: 9.398 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.4161, allocations: 85.69 kB / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.4161, allocations: 0 / 0.5369 GB, free: 9.348 MB / 398.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002258/0.4163, allocations: 110.1 kB / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.4164, allocations: 5.344 kB / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.4164, allocations: 320 / 0.537 GB, free: 9.281 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.4164, allocations: 4.844 kB / 0.537 GB, free: 9.277 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001272/0.4165, allocations: 21.95 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.503e-06/0.4165, allocations: 0.8125 kB / 0.537 GB, free: 9.27 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.724e-05/0.4166, allocations: 11.69 kB / 0.537 GB, free: 9.262 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.049e-05/0.4166, allocations: 5.266 kB / 0.537 GB, free: 9.258 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.0001183/0.4167, allocations: 137.3 kB / 0.5371 GB, free: 9.129 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.714e-05/0.4168, allocations: 16.81 kB / 0.5372 GB, free: 9.117 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003208/0.4171, allocations: 128.3 kB / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.4171, allocations: 1.062 kB / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.4171, allocations: 0 / 0.5373 GB, free: 9.031 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.4172, allocations: 7.938 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000598/0.4178, allocations: 426.8 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.4178, allocations: 0.8438 kB / 0.5377 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.972e-05/0.4179, allocations: 21.36 kB / 0.5377 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.4179, allocations: 4.75 kB / 0.5377 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.361e-05/0.4179, allocations: 5.844 kB / 0.5377 GB, free: 8.609 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4179, allocations: 5 kB / 0.5377 GB, free: 8.605 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4179, allocations: 5.062 kB / 0.5377 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002786/0.4182, allocations: 209.5 kB / 0.5379 GB, free: 8.426 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.818e-05/0.4183, allocations: 92.39 kB / 0.538 GB, free: 8.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.4183, allocations: 5.078 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.379e-05/0.4184, allocations: 3.5 kB / 0.538 GB, free: 8.316 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.4184, allocations: 11.91 kB / 0.538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.4184, allocations: 2.312 kB / 0.538 GB, free: 8.309 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001891/0.4186, allocations: 196.4 kB / 0.5382 GB, free: 8.184 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4186, allocations: 0 / 0.5382 GB, free: 8.184 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.4189, allocations: 19.16 kB / 0.5382 GB, free: 8.18 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.001134/0.4201, allocations: 452.1 kB / 0.5387 GB, free: 7.949 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002485/0.4203, allocations: 75.5 kB / 0.5387 GB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4203, allocations: 0 / 0.5387 GB, free: 7.918 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.93e-05/0.4204, allocations: 44.09 kB / 0.5388 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.4208, allocations: 27.77 kB / 0.5388 GB, free: 7.879 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006339/0.4215, allocations: 333 kB / 0.5391 GB, free: 7.629 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.4218, allocations: 0.7162 MB / 0.5398 GB, free: 6.914 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.039e-05/0.4218, allocations: 17.31 kB / 0.5399 GB, free: 6.902 MB / 398.1 MB Notification: Performance of SimCode: time 1.8e-07/0.4218, allocations: 0.7812 kB / 0.5399 GB, free: 6.902 MB / 398.1 MB Notification: Performance of Templates: time 0.004029/0.4259, allocations: 1.902 MB / 0.5417 GB, free: 5.914 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test32/Test32.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches