Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.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.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test80,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001129/0.001129, allocations: 117.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 246.9 MB, free: 10.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2154/0.2154, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00154/0.00154, allocations: 75.88 kB / 480.9 MB, free: 4.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3441, allocations: 62.44 MB / 0.5306 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003586/0.3477, allocations: 1.834 MB / 0.5324 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.3512, allocations: 1.692 MB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002161/0.3514, allocations: 5 kB / 0.534 GB, free: 10.63 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004373/0.3519, allocations: 54.59 kB / 0.5341 GB, free: 10.59 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006261/0.3526, allocations: 138.7 kB / 0.5342 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002923/0.3529, allocations: 104.3 kB / 0.5343 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.3532, allocations: 208.2 kB / 0.5345 GB, free: 10.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.478e-05/0.3532, allocations: 14.77 kB / 0.5345 GB, free: 10.28 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001391/0.3534, allocations: 85.06 kB / 0.5346 GB, free: 10.23 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002192/0.3536, allocations: 79.86 kB / 0.5347 GB, free: 10.18 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.181e-05/0.3537, allocations: 13.41 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002332/0.3539, allocations: 118.8 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.604e-05/0.354, allocations: 36.61 kB / 0.5348 GB, free: 10.09 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.712e-05/0.3541, allocations: 66.89 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003806/0.3545, allocations: 225.2 kB / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.3545, allocations: 1.375 kB / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.465e-06/0.3545, allocations: 0 / 0.5351 GB, free: 9.898 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.955e-06/0.3545, allocations: 0 / 0.5351 GB, free: 9.898 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008903/0.3554, allocations: 0.4982 MB / 0.5356 GB, free: 9.402 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.689e-05/0.3555, allocations: 9.625 kB / 0.5356 GB, free: 9.402 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.718e-05/0.3555, allocations: 32.12 kB / 0.5356 GB, free: 9.363 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.113e-05/0.3556, allocations: 17.09 kB / 0.5357 GB, free: 9.355 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005457/0.3562, allocations: 263.3 kB / 0.5359 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.3562, allocations: 1.75 kB / 0.5359 GB, free: 9.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.088e-05/0.3562, allocations: 10.69 kB / 0.5359 GB, free: 9.082 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3565, allocations: 104.4 kB / 0.536 GB, free: 8.984 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3565, allocations: 3.938 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.306e-05/0.3565, allocations: 1.375 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.3565, allocations: 1.375 kB / 0.536 GB, free: 8.98 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.3567, allocations: 35.22 kB / 0.5361 GB, free: 8.961 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.3569, allocations: 221.2 kB / 0.5363 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.3572, allocations: 110.3 kB / 0.5364 GB, free: 8.629 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.3573, allocations: 41.73 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.168e-05/0.3574, allocations: 1.125 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002247/0.3576, allocations: 105 kB / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.212e-06/0.3576, allocations: 0 / 0.5365 GB, free: 8.504 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004543/0.3581, allocations: 175.9 kB / 0.5367 GB, free: 8.402 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.3581, allocations: 135.2 kB / 0.5368 GB, free: 8.242 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002954/0.3584, allocations: 231.2 kB / 0.537 GB, free: 8.078 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3585, allocations: 34.83 kB / 0.5371 GB, free: 8.039 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.555e-05/0.3586, allocations: 116.2 kB / 0.5372 GB, free: 7.93 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.3586, allocations: 28.3 kB / 0.5372 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.3587, allocations: 27.66 kB / 0.5372 GB, free: 7.883 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001151/0.3588, allocations: 335.2 kB / 0.5376 GB, free: 7.551 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.373e-05/0.3589, allocations: 26.89 kB / 0.5376 GB, free: 7.539 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000117/0.359, allocations: 77.3 kB / 0.5377 GB, free: 7.469 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.3592, allocations: 99.38 kB / 0.5377 GB, free: 7.395 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3592, allocations: 3.938 kB / 0.5378 GB, free: 7.391 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000259/0.3595, allocations: 129.7 kB / 0.5379 GB, free: 7.316 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.3595, allocations: 8.031 kB / 0.5379 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.3595, allocations: 1.188 kB / 0.5379 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.3595, allocations: 1.156 kB / 0.5379 GB, free: 7.316 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.3596, allocations: 25.48 kB / 0.5379 GB, free: 7.309 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3596, allocations: 6.656 kB / 0.5379 GB, free: 7.305 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.907e-05/0.3597, allocations: 20.59 kB / 0.5379 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.3598, allocations: 3.375 kB / 0.5379 GB, free: 7.289 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (14): * Single equations (assignments): 14 * 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.0001291/0.3599, allocations: 133.2 kB / 0.5381 GB, free: 7.16 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.78e-05/0.3599, allocations: 16.69 kB / 0.5381 GB, free: 7.152 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.454e-05/0.36, allocations: 23.64 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.36, allocations: 2.156 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.36, allocations: 0 / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.36, allocations: 1.062 kB / 0.5381 GB, free: 7.133 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/0.3602, allocations: 238.9 kB / 0.5383 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.562e-06/0.3602, allocations: 1.312 kB / 0.5383 GB, free: 6.875 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.278e-05/0.3603, allocations: 10.38 kB / 0.5383 GB, free: 6.871 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.3603, allocations: 5.125 kB / 0.5384 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.258e-05/0.3603, allocations: 2.094 kB / 0.5384 GB, free: 6.867 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.3603, allocations: 4.969 kB / 0.5384 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3603, allocations: 5.266 kB / 0.5384 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003117/0.3606, allocations: 171.2 kB / 0.5385 GB, free: 6.734 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.978e-05/0.3607, allocations: 97.27 kB / 0.5386 GB, free: 6.625 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.3608, allocations: 6.922 kB / 0.5386 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.3608, allocations: 3.75 kB / 0.5386 GB, free: 6.621 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.3609, allocations: 11.55 kB / 0.5386 GB, free: 6.613 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3609, allocations: 4.125 kB / 0.5386 GB, free: 6.613 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001807/0.3611, allocations: 182.8 kB / 0.5388 GB, free: 6.484 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3611, allocations: 0 / 0.5388 GB, free: 6.484 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002883/0.3614, allocations: 54.02 kB / 0.5389 GB, free: 6.469 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001561/0.363, allocations: 1.1 MB / 0.5399 GB, free: 5.641 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.3632, allocations: 79.33 kB / 0.54 GB, free: 5.609 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3632, allocations: 5.219 kB / 0.54 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001078/0.3634, allocations: 51.34 kB / 0.5401 GB, free: 5.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.3637, allocations: 52.72 kB / 0.5401 GB, free: 5.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002113/0.3658, allocations: 1.878 MB / 0.542 GB, free: 4.008 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3662, allocations: 0.719 MB / 0.5427 GB, free: 3.293 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.3663, allocations: 40.38 kB / 0.5427 GB, free: 3.273 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001188/0.3664, allocations: 58.34 kB / 0.5428 GB, free: 3.23 MB / 398.1 MB Notification: Performance of SimCode: time 4.5e-07/0.3664, allocations: 0 / 0.5428 GB, free: 3.23 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02585/0.3923, allocations: 5.29 MB / 0.5479 GB, free: 15.64 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.551/7.944, allocations: 12.58 kB / 0.5479 GB, free: 15.64 MB / 414.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test80.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches