Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.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.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001274/0.001274, allocations: 117 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.001369/0.001369, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.42/1.42, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2194/0.2194, allocations: 46.1 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001379/0.001379, allocations: 75.88 kB / 482 MB, free: 4.074 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4016/0.403, allocations: 62.44 MB / 0.5317 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test1): time 0.003357/0.4064, allocations: 1.596 MB / 0.5332 GB, free: 12.38 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001099/0.4076, allocations: 0.5415 MB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.298e-05/0.4077, allocations: 1.031 kB / 0.5338 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002365/0.4079, allocations: 24.16 kB / 0.5338 GB, free: 11.94 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.4083, allocations: 80.41 kB / 0.5339 GB, free: 11.88 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003383/0.4087, allocations: 113.2 kB / 0.534 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.4088, allocations: 63.12 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001135/0.409, allocations: 14.58 kB / 0.534 GB, free: 11.77 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.165e-05/0.409, allocations: 24.7 kB / 0.5341 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.921e-05/0.4091, allocations: 26.48 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.4091, allocations: 2.281 kB / 0.5341 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.207e-05/0.4092, allocations: 33.14 kB / 0.5341 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.555e-05/0.4093, allocations: 12.17 kB / 0.5341 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.871e-05/0.4093, allocations: 19.97 kB / 0.5342 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.4095, allocations: 84.5 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.4095, allocations: 0 / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4095, allocations: 3.938 kB / 0.5342 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.4095, allocations: 1.281 kB / 0.5342 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.0005109/0.4101, allocations: 385 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.4101, allocations: 10.56 kB / 0.5346 GB, free: 11.24 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.976e-05/0.4101, allocations: 8.031 kB / 0.5346 GB, free: 11.23 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.4104, allocations: 196.6 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.4104, allocations: 1.656 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.412e-05/0.4104, allocations: 1.781 kB / 0.5348 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.4105, allocations: 53.58 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.4106, allocations: 0 / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.4106, allocations: 4 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.4106, allocations: 1.062 kB / 0.5349 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.157e-05/0.4107, allocations: 29.58 kB / 0.5349 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.4111, allocations: 284.3 kB / 0.5352 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/0.4113, allocations: 40.16 kB / 0.5352 GB, free: 10.61 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.575e-05/0.4114, allocations: 20.72 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.4114, allocations: 9.438 kB / 0.5352 GB, free: 10.59 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.232e-05/0.4115, allocations: 34.56 kB / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.4115, allocations: 0 / 0.5353 GB, free: 10.54 MB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005612/0.412, allocations: 150.5 kB / 0.5354 GB, free: 10.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.632e-05/0.4121, allocations: 52.78 kB / 0.5355 GB, free: 10.39 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001766/0.4123, allocations: 157.3 kB / 0.5356 GB, free: 10.26 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.566e-05/0.4123, allocations: 27.08 kB / 0.5356 GB, free: 10.23 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.762e-05/0.4124, allocations: 102.8 kB / 0.5357 GB, free: 10.12 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.217e-05/0.4124, allocations: 10.56 kB / 0.5358 GB, free: 10.12 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.4125, allocations: 21.83 kB / 0.5358 GB, free: 10.09 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.4126, allocations: 321.5 kB / 0.5361 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.004e-05/0.4127, allocations: 22.97 kB / 0.5361 GB, free: 9.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.759e-05/0.4127, allocations: 24.36 kB / 0.5361 GB, free: 9.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001295/0.4129, allocations: 52.33 kB / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.4129, allocations: 0 / 0.5362 GB, free: 9.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001798/0.4131, allocations: 90.5 kB / 0.5363 GB, free: 9.66 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.4131, allocations: 7.844 kB / 0.5363 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/0.4131, allocations: 1.375 kB / 0.5363 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.4131, allocations: 0 / 0.5363 GB, free: 9.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.179e-05/0.4132, allocations: 13.61 kB / 0.5363 GB, free: 9.656 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.4132, allocations: 5.375 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.744e-05/0.4132, allocations: 2.75 kB / 0.5363 GB, free: 9.652 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.4133, allocations: 1.375 kB / 0.5363 GB, free: 9.652 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 8.857e-05/0.4134, allocations: 119.3 kB / 0.5364 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.4134, allocations: 10.64 kB / 0.5364 GB, free: 9.523 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.4136, allocations: 97.66 kB / 0.5365 GB, free: 9.453 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4137, allocations: 4 kB / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.4137, allocations: 0 / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.4137, allocations: 1.375 kB / 0.5365 GB, free: 9.449 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004397/0.4141, allocations: 355.4 kB / 0.5369 GB, free: 9.094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.4141, allocations: 4 kB / 0.5369 GB, free: 9.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.427e-05/0.4142, allocations: 14.14 kB / 0.5369 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.4142, allocations: 0 / 0.5369 GB, free: 9.086 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.4142, allocations: 9 kB / 0.5369 GB, free: 9.078 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.919e-06/0.4142, allocations: 5.094 kB / 0.5369 GB, free: 9.074 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.4142, allocations: 4 kB / 0.5369 GB, free: 9.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002332/0.4145, allocations: 178.9 kB / 0.5371 GB, free: 8.914 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.4145, allocations: 83.56 kB / 0.5371 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/0.4146, allocations: 0 / 0.5371 GB, free: 8.816 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.572e-05/0.4146, allocations: 7.094 kB / 0.5371 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.364e-05/0.4147, allocations: 2.125 kB / 0.5371 GB, free: 8.812 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.067e-05/0.4147, allocations: 18.12 kB / 0.5372 GB, free: 8.797 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.982e-05/0.4148, allocations: 120.5 kB / 0.5373 GB, free: 8.703 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4148, allocations: 0 / 0.5373 GB, free: 8.703 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002444/0.415, allocations: 22.45 kB / 0.5373 GB, free: 8.691 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.0009703/0.416, allocations: 400.3 kB / 0.5377 GB, free: 8.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002314/0.4163, allocations: 58.39 kB / 0.5377 GB, free: 8.453 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4163, allocations: 4 kB / 0.5377 GB, free: 8.449 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.711e-05/0.4164, allocations: 25.2 kB / 0.5378 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.4167, allocations: 22.42 kB / 0.5378 GB, free: 8.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004861/0.4172, allocations: 210.3 kB / 0.538 GB, free: 8.242 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.4175, allocations: 0.6958 MB / 0.5387 GB, free: 7.535 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.663e-05/0.4176, allocations: 17.16 kB / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4176, allocations: 0 / 0.5387 GB, free: 7.523 MB / 398.1 MB Notification: Performance of Templates: time 0.003694/0.4213, allocations: 1.458 MB / 0.5401 GB, free: 6.77 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches