Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test48,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001321/0.001321, allocations: 121.6 kB / 17.79 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001499/0.001499, allocations: 199.9 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.421/1.421, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2411/0.2411, allocations: 46.11 MB / 344.3 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 80.09 kB / 480.9 MB, free: 4.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4023/0.4037, allocations: 62.43 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test48): time 0.002918/0.4066, allocations: 1.73 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.4083, allocations: 1.023 MB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.4084, allocations: 5.5 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002945/0.4087, allocations: 57.16 kB / 0.5333 GB, free: 11.2 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003052/0.4091, allocations: 99.16 kB / 0.5334 GB, free: 11.14 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000198/0.4093, allocations: 78.91 kB / 0.5335 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000177/0.4095, allocations: 102.4 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001062/0.4096, allocations: 10.88 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.924e-05/0.4097, allocations: 44.28 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.203e-05/0.4097, allocations: 37.34 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.952e-05/0.4098, allocations: 8.062 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.4099, allocations: 39.48 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.057e-05/0.41, allocations: 30.91 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.245e-05/0.41, allocations: 45.23 kB / 0.5338 GB, free: 10.89 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002705/0.4103, allocations: 132.7 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.4103, allocations: 1.375 kB / 0.5339 GB, free: 10.81 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4103, allocations: 4 kB / 0.534 GB, free: 10.81 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.4103, allocations: 0 / 0.534 GB, free: 10.81 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006225/0.411, allocations: 459.4 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.411, allocations: 9.656 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.4111, allocations: 32.06 kB / 0.5344 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.275e-05/0.4111, allocations: 15.53 kB / 0.5344 GB, free: 10.3 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000314/0.4114, allocations: 224 kB / 0.5347 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.4115, allocations: 5.266 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.4115, allocations: 7.062 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.4117, allocations: 57.8 kB / 0.5347 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.4117, allocations: 3.984 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.4117, allocations: 1.281 kB / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.4117, allocations: 0 / 0.5347 GB, free: 9.996 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.167e-05/0.4118, allocations: 23.11 kB / 0.5348 GB, free: 9.984 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003957/0.4122, allocations: 298.8 kB / 0.535 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.4124, allocations: 62.55 kB / 0.5351 GB, free: 9.621 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.583e-05/0.4125, allocations: 21.94 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.225e-05/0.4125, allocations: 1.281 kB / 0.5351 GB, free: 9.605 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001579/0.4126, allocations: 68.27 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.432e-06/0.4127, allocations: 0 / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005807/0.4132, allocations: 193.4 kB / 0.5354 GB, free: 9.422 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.4133, allocations: 52.56 kB / 0.5354 GB, free: 9.359 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002754/0.4136, allocations: 275 kB / 0.5357 GB, free: 9.18 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.4136, allocations: 30.73 kB / 0.5357 GB, free: 9.145 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.328e-05/0.4137, allocations: 112.1 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/0.4137, allocations: 27.78 kB / 0.5358 GB, free: 9.016 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.539e-05/0.4138, allocations: 20.44 kB / 0.5359 GB, free: 8.996 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.4139, allocations: 328.1 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.879e-05/0.414, allocations: 26.8 kB / 0.5362 GB, free: 8.656 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.486e-05/0.414, allocations: 35.67 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001162/0.4142, allocations: 58.27 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.4142, allocations: 1.219 kB / 0.5363 GB, free: 8.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.4144, allocations: 116.7 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.4144, allocations: 5.5 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4144, allocations: 4.031 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.4144, allocations: 1.375 kB / 0.5364 GB, free: 8.508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.666e-05/0.4145, allocations: 17.73 kB / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.4145, allocations: 0 / 0.5364 GB, free: 8.504 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.934e-05/0.4146, allocations: 6.688 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.806e-06/0.4146, allocations: 2.75 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001164/0.4147, allocations: 134.9 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.4148, allocations: 20.09 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.166e-05/0.4148, allocations: 24.27 kB / 0.5366 GB, free: 8.344 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4148, allocations: 5.375 kB / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.4148, allocations: 0 / 0.5366 GB, free: 8.34 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.4148, allocations: 5.312 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004782/0.4153, allocations: 404.7 kB / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.4153, allocations: 0 / 0.537 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.728e-05/0.4154, allocations: 15.98 kB / 0.537 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.688e-06/0.4154, allocations: 5.438 kB / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.4154, allocations: 1.25 kB / 0.537 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.4154, allocations: 4.031 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.4154, allocations: 1.094 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002651/0.4157, allocations: 206.1 kB / 0.5372 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.358e-05/0.4158, allocations: 89.17 kB / 0.5373 GB, free: 7.656 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.4158, allocations: 9.984 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.155e-05/0.4159, allocations: 1.406 kB / 0.5373 GB, free: 7.648 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.242e-05/0.4159, allocations: 7.688 kB / 0.5373 GB, free: 7.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.043e-05/0.4159, allocations: 15.58 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000203/0.4161, allocations: 198.6 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4161, allocations: 1.062 kB / 0.5375 GB, free: 7.512 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000263/0.4164, allocations: 24.97 kB / 0.5376 GB, free: 7.504 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001674/0.4181, allocations: 1.097 MB / 0.5386 GB, free: 6.648 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002271/0.4183, allocations: 66.3 kB / 0.5387 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4184, allocations: 4.062 kB / 0.5387 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.4184, allocations: 29 kB / 0.5387 GB, free: 6.602 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003923/0.4188, allocations: 35.78 kB / 0.5388 GB, free: 6.586 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.421, allocations: 1.827 MB / 0.5405 GB, free: 5.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.4213, allocations: 0.7242 MB / 0.5413 GB, free: 4.348 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.934e-05/0.4213, allocations: 14.56 kB / 0.5413 GB, free: 4.344 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.483e-05/0.4214, allocations: 46.23 kB / 0.5413 GB, free: 4.305 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4214, allocations: 1.312 kB / 0.5413 GB, free: 4.305 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.4428, allocations: 3.772 MB / 0.545 GB, free: 2.297 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.433/7.876, allocations: 17.53 kB / 0.545 GB, free: 2.285 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test48.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test48/Test48.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test48.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches