Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001675/0.001675, allocations: 117.6 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.001963/0.001963, allocations: 199.9 kB / 18.74 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.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2264/0.2264, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 79.88 kB / 480.9 MB, free: 4.465 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3264, allocations: 62.42 MB / 0.5306 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.003164/0.3297, allocations: 1.732 MB / 0.5323 GB, free: 12.06 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001666/0.3313, allocations: 1.022 MB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.3314, allocations: 1.812 kB / 0.5333 GB, free: 11.27 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003316/0.3318, allocations: 56.94 kB / 0.5333 GB, free: 11.23 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000324/0.3321, allocations: 98.66 kB / 0.5334 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001876/0.3323, allocations: 76.52 kB / 0.5335 GB, free: 11.11 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000164/0.3325, allocations: 107.6 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3326, allocations: 10.88 kB / 0.5336 GB, free: 11.04 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.703e-05/0.3327, allocations: 48.28 kB / 0.5337 GB, free: 11.01 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.3328, allocations: 33.41 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.3328, allocations: 4.125 kB / 0.5337 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.3329, allocations: 40.86 kB / 0.5337 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.715e-05/0.333, allocations: 26.92 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.3331, allocations: 39.92 kB / 0.5338 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.3334, allocations: 148.5 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3334, allocations: 1.375 kB / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3334, allocations: 0 / 0.5339 GB, free: 10.83 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.203e-05/0.3334, allocations: 0 / 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.0006698/0.3341, allocations: 459.4 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3341, allocations: 9.625 kB / 0.5344 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.3342, allocations: 32.12 kB / 0.5344 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.3342, allocations: 19.7 kB / 0.5344 GB, free: 10.32 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003235/0.3345, allocations: 220.4 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.765e-05/0.3346, allocations: 5.734 kB / 0.5347 GB, free: 10.08 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.578e-05/0.3346, allocations: 6.688 kB / 0.5347 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.3348, allocations: 57.98 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3348, allocations: 7.938 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.3348, allocations: 0 / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.3348, allocations: 1.375 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.92e-05/0.3349, allocations: 17.61 kB / 0.5347 GB, free: 10.01 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004106/0.3353, allocations: 304.3 kB / 0.535 GB, free: 9.688 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/0.3355, allocations: 57.88 kB / 0.5351 GB, free: 9.645 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.511e-05/0.3356, allocations: 25.09 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.331e-05/0.3356, allocations: 1.375 kB / 0.5351 GB, free: 9.625 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.3358, allocations: 65.14 kB / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.373e-06/0.3358, allocations: 0 / 0.5352 GB, free: 9.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005543/0.3364, allocations: 184.9 kB / 0.5354 GB, free: 9.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.591e-05/0.3364, allocations: 52.5 kB / 0.5354 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002767/0.3367, allocations: 280.6 kB / 0.5357 GB, free: 9.207 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.732e-05/0.3367, allocations: 29.7 kB / 0.5357 GB, free: 9.172 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.531e-05/0.3368, allocations: 112 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.875e-05/0.3369, allocations: 31.33 kB / 0.5358 GB, free: 9.039 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.3369, allocations: 20.56 kB / 0.5359 GB, free: 9.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001355/0.3371, allocations: 332.5 kB / 0.5362 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.013e-05/0.3371, allocations: 15.09 kB / 0.5362 GB, free: 8.688 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.842e-05/0.3372, allocations: 43.27 kB / 0.5362 GB, free: 8.652 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.3373, allocations: 59.2 kB / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3373, allocations: 0 / 0.5363 GB, free: 8.613 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001897/0.3375, allocations: 108.5 kB / 0.5364 GB, free: 8.543 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3376, allocations: 9.453 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3376, allocations: 1.156 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.3376, allocations: 1.125 kB / 0.5364 GB, free: 8.539 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.921e-05/0.3377, allocations: 16.69 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3377, allocations: 1.125 kB / 0.5364 GB, free: 8.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.035e-05/0.3378, allocations: 6.562 kB / 0.5364 GB, free: 8.531 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3378, allocations: 6.141 kB / 0.5364 GB, free: 8.527 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.0001214/0.3379, allocations: 142 kB / 0.5366 GB, free: 8.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.743e-05/0.3379, allocations: 14.44 kB / 0.5366 GB, free: 8.387 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.479e-05/0.338, allocations: 17.91 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.338, allocations: 1.312 kB / 0.5366 GB, free: 8.375 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.338, allocations: 4 kB / 0.5366 GB, free: 8.371 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.096e-06/0.338, allocations: 7.922 kB / 0.5366 GB, free: 8.363 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004589/0.3385, allocations: 409.1 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3385, allocations: 0 / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.054e-05/0.3385, allocations: 7.469 kB / 0.537 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.3385, allocations: 5.312 kB / 0.537 GB, free: 7.969 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.3386, allocations: 5.406 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.3386, allocations: 1.344 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.3386, allocations: 1.375 kB / 0.537 GB, free: 7.965 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.3388, allocations: 205.5 kB / 0.5372 GB, free: 7.789 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.525e-05/0.3389, allocations: 92.66 kB / 0.5373 GB, free: 7.684 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.867e-05/0.3389, allocations: 10.06 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-05/0.339, allocations: 2.062 kB / 0.5373 GB, free: 7.676 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.339, allocations: 7.484 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.576e-05/0.3391, allocations: 3.438 kB / 0.5373 GB, free: 7.672 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001762/0.3392, allocations: 206.8 kB / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3393, allocations: 0 / 0.5375 GB, free: 7.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.3395, allocations: 30.08 kB / 0.5376 GB, free: 7.531 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.001609/0.3411, allocations: 1.107 MB / 0.5386 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002089/0.3414, allocations: 58.12 kB / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3414, allocations: 0 / 0.5387 GB, free: 6.641 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.3415, allocations: 33.17 kB / 0.5387 GB, free: 6.625 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/0.3418, allocations: 34 kB / 0.5388 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002266/0.3441, allocations: 1.83 MB / 0.5405 GB, free: 5.098 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003857/0.3445, allocations: 0.7288 MB / 0.5413 GB, free: 4.371 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.731e-05/0.3446, allocations: 14.03 kB / 0.5413 GB, free: 4.367 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001015/0.3447, allocations: 51.22 kB / 0.5413 GB, free: 4.324 MB / 398.1 MB Notification: Performance of SimCode: time 2.31e-07/0.3447, allocations: 0 / 0.5413 GB, free: 4.324 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02502/0.3698, allocations: 3.77 MB / 0.545 GB, free: 2.316 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.741/8.111, allocations: 8.969 kB / 0.545 GB, free: 2.309 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_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_Test1.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test1/Test1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches