Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001186/0.001186, allocations: 117.6 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.001484/0.001484, allocations: 200.7 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.386/1.386, allocations: 227.4 MB / 246.9 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.2235/0.2235, allocations: 46.09 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002527/0.002527, allocations: 76.09 kB / 480.9 MB, free: 4.488 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3263/0.3289, allocations: 62.43 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.00272/0.3316, allocations: 1.734 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3331, allocations: 1.017 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.3332, allocations: 1.312 kB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.3334, allocations: 41.8 kB / 0.5333 GB, free: 11.25 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002613/0.3337, allocations: 100.1 kB / 0.5334 GB, free: 11.18 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000178/0.3339, allocations: 78.62 kB / 0.5335 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.3341, allocations: 105.8 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.376e-05/0.3341, allocations: 10.86 kB / 0.5336 GB, free: 11.06 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.037e-05/0.3342, allocations: 44.28 kB / 0.5336 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.3343, allocations: 33.42 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.696e-05/0.3343, allocations: 4.125 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.634e-05/0.3344, allocations: 43.47 kB / 0.5337 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.3345, allocations: 22.73 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 4.974e-05/0.3345, allocations: 32 kB / 0.5338 GB, free: 10.95 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.3347, allocations: 120.5 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3347, allocations: 4 kB / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3347, allocations: 0 / 0.5339 GB, free: 10.88 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.3348, allocations: 0 / 0.5339 GB, free: 10.88 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.0004829/0.3352, allocations: 411.6 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3353, allocations: 9.625 kB / 0.5343 GB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.101e-05/0.3353, allocations: 40.06 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.3354, allocations: 14.34 kB / 0.5344 GB, free: 10.4 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002367/0.3356, allocations: 223.2 kB / 0.5346 GB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.3356, allocations: 5.75 kB / 0.5346 GB, free: 10.15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.3357, allocations: 10.67 kB / 0.5346 GB, free: 10.14 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.3358, allocations: 54.05 kB / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.3358, allocations: 0 / 0.5346 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.355e-06/0.3358, allocations: 5.312 kB / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.3358, allocations: 0 / 0.5346 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.149e-05/0.3359, allocations: 18.98 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003206/0.3362, allocations: 289.5 kB / 0.5349 GB, free: 9.773 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001519/0.3364, allocations: 53.94 kB / 0.535 GB, free: 9.734 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.758e-05/0.3365, allocations: 22.47 kB / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.787e-05/0.3365, allocations: 0 / 0.535 GB, free: 9.719 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.3366, allocations: 70.52 kB / 0.5351 GB, free: 9.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.3367, allocations: 3.938 kB / 0.5351 GB, free: 9.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004865/0.3371, allocations: 181.7 kB / 0.5352 GB, free: 9.539 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.3372, allocations: 52.38 kB / 0.5353 GB, free: 9.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/0.3374, allocations: 193.2 kB / 0.5355 GB, free: 9.324 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.3374, allocations: 27.05 kB / 0.5355 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.647e-05/0.3374, allocations: 96.64 kB / 0.5356 GB, free: 9.199 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.62e-05/0.3375, allocations: 24.03 kB / 0.5356 GB, free: 9.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.877e-05/0.3375, allocations: 28.53 kB / 0.5357 GB, free: 9.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001015/0.3376, allocations: 322.3 kB / 0.536 GB, free: 8.832 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.3377, allocations: 22.52 kB / 0.536 GB, free: 8.82 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.165e-05/0.3378, allocations: 35.67 kB / 0.536 GB, free: 8.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.3379, allocations: 55.36 kB / 0.5361 GB, free: 8.758 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3379, allocations: 3.938 kB / 0.5361 GB, free: 8.754 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001756/0.3381, allocations: 103.3 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.238e-05/0.3381, allocations: 5.844 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3381, allocations: 0 / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.3381, allocations: 1.156 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.516e-05/0.3382, allocations: 21.02 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.96e-06/0.3382, allocations: 1.062 kB / 0.5362 GB, free: 8.68 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.797e-05/0.3383, allocations: 10.09 kB / 0.5362 GB, free: 8.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.944e-06/0.3383, allocations: 2.219 kB / 0.5362 GB, free: 8.672 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.008e-05/0.3384, allocations: 133.3 kB / 0.5363 GB, free: 8.543 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.865e-05/0.3384, allocations: 8.359 kB / 0.5363 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.12e-05/0.3385, allocations: 18.94 kB / 0.5364 GB, free: 8.52 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.3385, allocations: 5.109 kB / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.3385, allocations: 0 / 0.5364 GB, free: 8.516 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.3385, allocations: 3.938 kB / 0.5364 GB, free: 8.512 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.3389, allocations: 401.8 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3389, allocations: 1.062 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.224e-05/0.339, allocations: 7.438 kB / 0.5368 GB, free: 8.121 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.339, allocations: 8.969 kB / 0.5368 GB, free: 8.113 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.339, allocations: 5.953 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.339, allocations: 1.125 kB / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.339, allocations: 0 / 0.5368 GB, free: 8.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.3392, allocations: 205.1 kB / 0.537 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.755e-05/0.3393, allocations: 87.58 kB / 0.5371 GB, free: 7.832 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.3393, allocations: 9.25 kB / 0.5371 GB, free: 7.824 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.3394, allocations: 10.39 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.745e-05/0.3394, allocations: 4 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.314e-05/0.3394, allocations: 3.031 kB / 0.5371 GB, free: 7.816 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001042/0.3396, allocations: 139.9 kB / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3396, allocations: 0 / 0.5372 GB, free: 7.715 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002481/0.3398, allocations: 20.28 kB / 0.5372 GB, free: 7.711 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.001343/0.3412, allocations: 1.098 MB / 0.5383 GB, free: 6.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001646/0.3413, allocations: 57.67 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3414, allocations: 1.156 kB / 0.5384 GB, free: 6.828 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.3414, allocations: 29.23 kB / 0.5384 GB, free: 6.816 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000313/0.3417, allocations: 24.02 kB / 0.5384 GB, free: 6.809 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001555/0.3433, allocations: 1.643 MB / 0.54 GB, free: 5.352 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002516/0.3436, allocations: 0.7015 MB / 0.5407 GB, free: 4.645 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.564e-05/0.3436, allocations: 13.88 kB / 0.5407 GB, free: 4.641 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.3437, allocations: 39.08 kB / 0.5408 GB, free: 4.609 MB / 398.1 MB Notification: Performance of SimCode: time 3.11e-07/0.3437, allocations: 0 / 0.5408 GB, free: 4.609 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02016/0.3639, allocations: 3.388 MB / 0.5441 GB, free: 2.781 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.819/8.183, allocations: 9.25 kB / 0.5441 GB, free: 2.773 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_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_Test17.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test17.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches