Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.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.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test9,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001167/0.001167, allocations: 118.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.00117/0.00117, 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.455/1.455, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2215/0.2215, allocations: 46.11 MB / 344.3 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 79.88 kB / 480.9 MB, free: 4.492 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3336, allocations: 62.43 MB / 0.5306 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test9): time 0.002954/0.3366, allocations: 1.737 MB / 0.5323 GB, free: 12.07 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.3383, allocations: 1.018 MB / 0.5333 GB, free: 11.29 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.3384, allocations: 3.938 kB / 0.5333 GB, free: 11.28 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003286/0.3387, allocations: 78.17 kB / 0.5334 GB, free: 11.24 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003262/0.3391, allocations: 122.8 kB / 0.5335 GB, free: 11.16 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.3393, allocations: 77.02 kB / 0.5336 GB, free: 11.1 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001699/0.3394, allocations: 120.2 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.599e-05/0.3396, allocations: 6.875 kB / 0.5337 GB, free: 11.03 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.702e-05/0.3397, allocations: 57.84 kB / 0.5337 GB, free: 11 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.724e-05/0.3398, allocations: 59.39 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.3398, allocations: 4.812 kB / 0.5338 GB, free: 10.96 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.3399, allocations: 51.77 kB / 0.5338 GB, free: 10.94 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.309e-05/0.34, allocations: 20.17 kB / 0.5339 GB, free: 10.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.23e-05/0.34, allocations: 39.97 kB / 0.5339 GB, free: 10.9 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002192/0.3402, allocations: 124.5 kB / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.3402, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3403, allocations: 0 / 0.534 GB, free: 10.82 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.361e-06/0.3403, allocations: 0 / 0.534 GB, free: 10.82 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.0005271/0.3408, allocations: 431.5 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3408, allocations: 9.625 kB / 0.5344 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.321e-05/0.3409, allocations: 36.11 kB / 0.5345 GB, free: 10.34 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.721e-05/0.3409, allocations: 18.34 kB / 0.5345 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002773/0.3412, allocations: 216.6 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3412, allocations: 1.75 kB / 0.5347 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.417e-05/0.3413, allocations: 6.688 kB / 0.5347 GB, free: 10.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.3414, allocations: 54.05 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.3414, allocations: 0 / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.3414, allocations: 1.375 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.3415, allocations: 0 / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.3415, allocations: 18.98 kB / 0.5348 GB, free: 10.04 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003513/0.3419, allocations: 304.1 kB / 0.5351 GB, free: 9.715 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001655/0.3421, allocations: 61.91 kB / 0.5351 GB, free: 9.668 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.246e-05/0.3421, allocations: 26.41 kB / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3422, allocations: 0 / 0.5352 GB, free: 9.648 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001424/0.3423, allocations: 73.08 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3423, allocations: 1.375 kB / 0.5352 GB, free: 9.578 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005128/0.3428, allocations: 170.4 kB / 0.5354 GB, free: 9.48 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.39e-05/0.3429, allocations: 56.72 kB / 0.5354 GB, free: 9.414 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002039/0.3431, allocations: 225.5 kB / 0.5357 GB, free: 9.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.595e-05/0.3431, allocations: 30.88 kB / 0.5357 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.665e-05/0.3432, allocations: 106.5 kB / 0.5358 GB, free: 9.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.514e-05/0.3432, allocations: 31.31 kB / 0.5358 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.844e-05/0.3433, allocations: 20.78 kB / 0.5358 GB, free: 9.066 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.3434, allocations: 326.2 kB / 0.5361 GB, free: 8.742 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.643e-05/0.3434, allocations: 20.38 kB / 0.5362 GB, free: 8.734 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.305e-05/0.3435, allocations: 35.05 kB / 0.5362 GB, free: 8.707 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001179/0.3436, allocations: 70.69 kB / 0.5363 GB, free: 8.656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.3436, allocations: 0 / 0.5363 GB, free: 8.656 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001895/0.3438, allocations: 97.09 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.3439, allocations: 4.594 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3439, allocations: 1.062 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.3439, allocations: 1.125 kB / 0.5364 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.126e-05/0.344, allocations: 28.89 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.344, allocations: 1.062 kB / 0.5364 GB, free: 8.582 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5e-05/0.3441, allocations: 10.25 kB / 0.5364 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.814e-06/0.3441, allocations: 6.219 kB / 0.5364 GB, free: 8.57 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.0001131/0.3442, allocations: 125.1 kB / 0.5365 GB, free: 8.449 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.581e-05/0.3442, allocations: 14.5 kB / 0.5365 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.795e-05/0.3443, allocations: 23.23 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.827e-06/0.3443, allocations: 0.9688 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.3443, allocations: 1.281 kB / 0.5366 GB, free: 8.418 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.3443, allocations: 3.938 kB / 0.5366 GB, free: 8.414 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/0.3447, allocations: 400.4 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3448, allocations: 1.094 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.177e-05/0.3448, allocations: 6.812 kB / 0.537 GB, free: 8.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3448, allocations: 5.188 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.3448, allocations: 2.125 kB / 0.537 GB, free: 8.023 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.526e-06/0.3448, allocations: 5 kB / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3448, allocations: 192 / 0.537 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.3451, allocations: 205.8 kB / 0.5372 GB, free: 7.844 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/0.3451, allocations: 92.48 kB / 0.5373 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.598e-05/0.3452, allocations: 5.094 kB / 0.5373 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.372e-05/0.3452, allocations: 6.25 kB / 0.5373 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.3453, allocations: 7.516 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.3453, allocations: 3.344 kB / 0.5373 GB, free: 7.727 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001365/0.3454, allocations: 164.9 kB / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3454, allocations: 0 / 0.5374 GB, free: 7.617 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002618/0.3457, allocations: 29.77 kB / 0.5375 GB, free: 7.605 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.001373/0.3471, allocations: 1.101 MB / 0.5385 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000173/0.3473, allocations: 61.16 kB / 0.5386 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3473, allocations: 1.406 kB / 0.5386 GB, free: 6.715 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.689e-05/0.3474, allocations: 25.22 kB / 0.5386 GB, free: 6.707 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003507/0.3477, allocations: 39.42 kB / 0.5387 GB, free: 6.688 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3495, allocations: 1.713 MB / 0.5403 GB, free: 5.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.3497, allocations: 0.7119 MB / 0.541 GB, free: 4.504 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.496e-05/0.3498, allocations: 18.31 kB / 0.541 GB, free: 4.496 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.136e-05/0.3499, allocations: 48.31 kB / 0.5411 GB, free: 4.457 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3499, allocations: 0 / 0.5411 GB, free: 4.457 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02089/0.3708, allocations: 3.55 MB / 0.5446 GB, free: 2.547 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.023, allocations: 8.844 kB / 0.5446 GB, free: 2.543 MB / 398.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv --start-time 0 --stop-time 3.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0014 ModelicaTest_trunk_ModelicaTest_Tables_CombiTimeTable_Test9.fmu > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test9/Test9.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test9.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches