Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001649/0.001649, allocations: 122.8 kB / 17.79 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.001939/0.00194, allocations: 202 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.397/1.397, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2146/0.2146, allocations: 46.1 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001553/0.001553, allocations: 75.89 kB / 480.9 MB, free: 4.477 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3069/0.3084, allocations: 62.44 MB / 0.5306 GB, free: 13.4 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002747/0.3112, allocations: 1.734 MB / 0.5323 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001508/0.3128, allocations: 1.026 MB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.036e-05/0.3128, allocations: 1 kB / 0.5333 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.3131, allocations: 44.7 kB / 0.5333 GB, free: 11.21 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002844/0.3134, allocations: 91.67 kB / 0.5334 GB, free: 11.15 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.3136, allocations: 78.66 kB / 0.5335 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001623/0.3138, allocations: 102.2 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.303e-05/0.3139, allocations: 18.92 kB / 0.5336 GB, free: 11.02 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.685e-05/0.314, allocations: 43.56 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.714e-05/0.3141, allocations: 34.41 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.627e-05/0.3141, allocations: 3.938 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.198e-05/0.3142, allocations: 39.45 kB / 0.5337 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.411e-05/0.3142, allocations: 24.25 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.939e-05/0.3143, allocations: 35.34 kB / 0.5338 GB, free: 10.91 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001969/0.3145, allocations: 128.4 kB / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.3145, allocations: 0 / 0.5339 GB, free: 10.84 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3145, allocations: 4 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.3145, allocations: 3.938 kB / 0.5339 GB, free: 10.83 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.000484/0.315, allocations: 426.5 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3151, allocations: 8.562 kB / 0.5343 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.006e-05/0.3151, allocations: 40.08 kB / 0.5344 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.617e-05/0.3152, allocations: 10.45 kB / 0.5344 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002543/0.3154, allocations: 216.8 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.3154, allocations: 1.781 kB / 0.5346 GB, free: 10.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.108e-05/0.3155, allocations: 14.47 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001355/0.3156, allocations: 53.39 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.3156, allocations: 1.312 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3156, allocations: 4 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3156, allocations: 1.062 kB / 0.5347 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.199e-05/0.3157, allocations: 17.89 kB / 0.5347 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.3161, allocations: 288 kB / 0.535 GB, free: 9.73 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.3162, allocations: 69.84 kB / 0.535 GB, free: 9.676 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.42e-05/0.3163, allocations: 17.11 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.3163, allocations: 1.375 kB / 0.535 GB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.3165, allocations: 73.06 kB / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.343e-06/0.3165, allocations: 0 / 0.5351 GB, free: 9.594 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.000508/0.317, allocations: 183.9 kB / 0.5353 GB, free: 9.484 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.317, allocations: 52.78 kB / 0.5353 GB, free: 9.422 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001783/0.3172, allocations: 212 kB / 0.5355 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.525e-05/0.3173, allocations: 29.7 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.75e-05/0.3173, allocations: 101.6 kB / 0.5357 GB, free: 9.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.3174, allocations: 19.98 kB / 0.5357 GB, free: 9.121 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.183e-05/0.3174, allocations: 28.58 kB / 0.5357 GB, free: 9.094 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.391e-05/0.3175, allocations: 323 kB / 0.536 GB, free: 8.773 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.597e-05/0.3176, allocations: 23 kB / 0.536 GB, free: 8.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.387e-05/0.3176, allocations: 39.52 kB / 0.5361 GB, free: 8.73 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.3177, allocations: 58.45 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.3178, allocations: 1.375 kB / 0.5361 GB, free: 8.691 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.00018/0.3179, allocations: 110.8 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.188e-05/0.318, allocations: 5.531 kB / 0.5362 GB, free: 8.617 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.318, allocations: 5.125 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.186e-05/0.318, allocations: 1.094 kB / 0.5362 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.436e-05/0.3181, allocations: 13.03 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.3181, allocations: 1.25 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.973e-05/0.3181, allocations: 14.02 kB / 0.5363 GB, free: 8.602 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.3182, allocations: 10.09 kB / 0.5363 GB, free: 8.594 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.301e-05/0.3183, allocations: 124.4 kB / 0.5364 GB, free: 8.473 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.569e-05/0.3183, allocations: 13.25 kB / 0.5364 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.3183, allocations: 23.05 kB / 0.5364 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3183, allocations: 1.125 kB / 0.5364 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3184, allocations: 0.9375 kB / 0.5364 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.3184, allocations: 3.938 kB / 0.5364 GB, free: 8.438 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.3188, allocations: 400.1 kB / 0.5368 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.3188, allocations: 0 / 0.5368 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.3188, allocations: 7.781 kB / 0.5368 GB, free: 8.051 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.3188, allocations: 5.188 kB / 0.5368 GB, free: 8.047 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.3189, allocations: 6.125 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.3189, allocations: 1 kB / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3189, allocations: 0 / 0.5368 GB, free: 8.043 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.3191, allocations: 217.5 kB / 0.5371 GB, free: 7.855 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.448e-05/0.3192, allocations: 84.31 kB / 0.5371 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.3192, allocations: 5.062 kB / 0.5371 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.169e-05/0.3193, allocations: 2.156 kB / 0.5371 GB, free: 7.754 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.254e-05/0.3193, allocations: 16.02 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.367e-05/0.3193, allocations: 2.5 kB / 0.5372 GB, free: 7.742 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.3195, allocations: 159 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3195, allocations: 1.125 kB / 0.5373 GB, free: 7.633 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002599/0.3197, allocations: 19.94 kB / 0.5373 GB, free: 7.629 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.001377/0.3211, allocations: 1.094 MB / 0.5384 GB, free: 6.773 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001768/0.3213, allocations: 66.23 kB / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3213, allocations: 1 kB / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.543e-05/0.3214, allocations: 28.75 kB / 0.5385 GB, free: 6.73 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003319/0.3217, allocations: 32.84 kB / 0.5385 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.3234, allocations: 1.686 MB / 0.5402 GB, free: 5.25 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002339/0.3236, allocations: 0.7116 MB / 0.5409 GB, free: 4.535 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.177e-05/0.3237, allocations: 18.11 kB / 0.5409 GB, free: 4.527 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.3237, allocations: 39.08 kB / 0.5409 GB, free: 4.496 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3237, allocations: 0 / 0.5409 GB, free: 4.496 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01974/0.3435, allocations: 3.516 MB / 0.5443 GB, free: 2.605 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.8/8.144, allocations: 5.312 kB / 0.5444 GB, free: 2.602 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_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_Test42.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test42/Test42.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test42.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches