Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001096/0.001096, allocations: 117.3 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00109/0.00109, allocations: 198 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.366/1.366, allocations: 227.4 MB / 246.9 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.2063/0.2063, allocations: 46.11 MB / 344.3 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 83.88 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3005/0.302, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002775/0.3048, allocations: 1.726 MB / 0.5323 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3062, allocations: 1.018 MB / 0.5333 GB, free: 11.26 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.3063, allocations: 5.312 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002541/0.3066, allocations: 42.77 kB / 0.5333 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002743/0.3069, allocations: 98.66 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.3071, allocations: 75.14 kB / 0.5335 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.3072, allocations: 106.2 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001077/0.3073, allocations: 10.84 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.461e-05/0.3074, allocations: 43.72 kB / 0.5336 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.705e-05/0.3075, allocations: 38.53 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.821e-05/0.3076, allocations: 3.656 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.783e-05/0.3077, allocations: 39.86 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.425e-05/0.3077, allocations: 19.33 kB / 0.5337 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.217e-05/0.3078, allocations: 38.83 kB / 0.5338 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.308, allocations: 121.7 kB / 0.5339 GB, free: 10.85 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.642e-06/0.308, allocations: 13.02 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.308, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.88e-06/0.308, allocations: 0 / 0.5339 GB, free: 10.84 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.000518/0.3085, allocations: 421.8 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3086, allocations: 12.39 kB / 0.5343 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.501e-05/0.3086, allocations: 31.97 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.029e-05/0.3087, allocations: 10.27 kB / 0.5344 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002612/0.3089, allocations: 221.1 kB / 0.5346 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.309, allocations: 9.562 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.309, allocations: 6.25 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3091, allocations: 54.2 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3092, allocations: 0 / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.014e-05/0.3092, allocations: 1.312 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3092, allocations: 1.438 kB / 0.5346 GB, free: 10.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.063e-05/0.3093, allocations: 17.11 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003407/0.3096, allocations: 292.9 kB / 0.5349 GB, free: 9.742 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.3098, allocations: 64.33 kB / 0.535 GB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.294e-05/0.3098, allocations: 21.72 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.3099, allocations: 0.9062 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001534/0.31, allocations: 65.17 kB / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.503e-06/0.31, allocations: 0 / 0.5351 GB, free: 9.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000515/0.3106, allocations: 178.8 kB / 0.5353 GB, free: 9.508 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.304e-05/0.3106, allocations: 56.77 kB / 0.5353 GB, free: 9.441 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3108, allocations: 200 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.3108, allocations: 27.08 kB / 0.5355 GB, free: 9.262 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.464e-05/0.3109, allocations: 101.6 kB / 0.5356 GB, free: 9.164 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.3109, allocations: 30.47 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.311, allocations: 20.59 kB / 0.5357 GB, free: 9.117 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.685e-05/0.3111, allocations: 327 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.74e-05/0.3111, allocations: 22.98 kB / 0.536 GB, free: 8.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.02e-05/0.3112, allocations: 39.39 kB / 0.536 GB, free: 8.75 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.3113, allocations: 62.44 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.3113, allocations: 1.375 kB / 0.5361 GB, free: 8.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001717/0.3115, allocations: 98.78 kB / 0.5362 GB, free: 8.645 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.3115, allocations: 9.531 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3115, allocations: 1.375 kB / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.3115, allocations: 192 / 0.5362 GB, free: 8.641 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.234e-05/0.3116, allocations: 17.73 kB / 0.5362 GB, free: 8.637 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.3116, allocations: 9.25 kB / 0.5362 GB, free: 8.629 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.497e-05/0.3117, allocations: 5.312 kB / 0.5362 GB, free: 8.625 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.458e-06/0.3117, allocations: 6.75 kB / 0.5362 GB, free: 8.621 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 9.79e-05/0.3118, allocations: 126 kB / 0.5364 GB, free: 8.5 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.3118, allocations: 13.41 kB / 0.5364 GB, free: 8.492 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.119e-05/0.3119, allocations: 22.89 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3119, allocations: 1.375 kB / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.3119, allocations: 0 / 0.5364 GB, free: 8.469 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3119, allocations: 3.938 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.3123, allocations: 391 kB / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3123, allocations: 0 / 0.5368 GB, free: 8.086 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.616e-05/0.3124, allocations: 15.48 kB / 0.5368 GB, free: 8.078 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/0.3124, allocations: 5 kB / 0.5368 GB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.3124, allocations: 6.25 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3124, allocations: 1.031 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.3124, allocations: 0.9688 kB / 0.5368 GB, free: 8.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002236/0.3126, allocations: 200.5 kB / 0.537 GB, free: 7.898 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.21e-05/0.3127, allocations: 88.3 kB / 0.5371 GB, free: 7.797 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3127, allocations: 5.094 kB / 0.5371 GB, free: 7.793 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.509e-05/0.3128, allocations: 10.95 kB / 0.5371 GB, free: 7.785 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.881e-05/0.3128, allocations: 6.703 kB / 0.5371 GB, free: 7.781 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.3129, allocations: 7.875 kB / 0.5371 GB, free: 7.777 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001145/0.313, allocations: 145 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.313, allocations: 0 / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002655/0.3133, allocations: 28.3 kB / 0.5373 GB, free: 7.664 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.001518/0.3148, allocations: 1.104 MB / 0.5384 GB, free: 6.797 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001883/0.315, allocations: 62.16 kB / 0.5384 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.315, allocations: 1.156 kB / 0.5384 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.3151, allocations: 24.94 kB / 0.5384 GB, free: 6.762 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003425/0.3154, allocations: 35.03 kB / 0.5385 GB, free: 6.746 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.317, allocations: 1.649 MB / 0.5401 GB, free: 5.301 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.3173, allocations: 0.7054 MB / 0.5408 GB, free: 4.59 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.973e-05/0.3173, allocations: 19.14 kB / 0.5408 GB, free: 4.582 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.198e-05/0.3174, allocations: 35.48 kB / 0.5408 GB, free: 4.555 MB / 398.1 MB Notification: Performance of SimCode: time 1.553e-06/0.3174, allocations: 0 / 0.5408 GB, free: 4.555 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01919/0.3366, allocations: 3.449 MB / 0.5442 GB, free: 2.691 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.908/8.244, allocations: 12.39 kB / 0.5442 GB, free: 2.684 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_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_Test28.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches