Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001437/0.001437, allocations: 112.8 kB / 17.78 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001316/0.001316, allocations: 180.9 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 242.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2066/0.2066, allocations: 44.19 MB / 336.8 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3344/0.3358, allocations: 60.83 MB / 0.5185 GB, free: 3.555 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002997/0.3388, allocations: 1.655 MB / 0.5201 GB, free: 2.402 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3403, allocations: 0.8575 MB / 0.521 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.26e-05/0.3404, allocations: 1.219 kB / 0.521 GB, free: 1.812 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003548/0.3408, allocations: 84.39 kB / 0.521 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003154/0.3411, allocations: 75.53 kB / 0.5211 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.3415, allocations: 107.3 kB / 0.5212 GB, free: 1.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002286/0.3417, allocations: 107.3 kB / 0.5213 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.182e-05/0.3418, allocations: 5.812 kB / 0.5213 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.3419, allocations: 48.86 kB / 0.5214 GB, free: 1.633 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.342, allocations: 52.25 kB / 0.5214 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.342, allocations: 2.344 kB / 0.5214 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001097/0.3422, allocations: 33.91 kB / 0.5215 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.069e-05/0.3422, allocations: 24.7 kB / 0.5215 GB, free: 1.594 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.325e-05/0.3423, allocations: 33.72 kB / 0.5215 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000209/0.3425, allocations: 98.56 kB / 0.5216 GB, free: 1.535 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.3425, allocations: 4 kB / 0.5216 GB, free: 1.531 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3425, allocations: 1.156 kB / 0.5216 GB, free: 1.531 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.909e-06/0.3425, allocations: 0 / 0.5216 GB, free: 1.531 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004685/0.343, allocations: 422.5 kB / 0.522 GB, free: 1.113 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.032e-05/0.3431, allocations: 9.438 kB / 0.522 GB, free: 1.113 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.774e-05/0.3431, allocations: 36.94 kB / 0.5221 GB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.653e-05/0.3431, allocations: 13.31 kB / 0.5221 GB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002752/0.3434, allocations: 202.7 kB / 0.5223 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.004e-05/0.3434, allocations: 6.125 kB / 0.5223 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.65e-05/0.3435, allocations: 10.5 kB / 0.5223 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.3436, allocations: 46.48 kB / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.3436, allocations: 0 / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.117e-06/0.3436, allocations: 1.219 kB / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.038e-06/0.3436, allocations: 0 / 0.5223 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.828e-05/0.3437, allocations: 16.39 kB / 0.5223 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001565/0.3439, allocations: 184.1 kB / 0.5225 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001455/0.344, allocations: 57.84 kB / 0.5226 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.096e-05/0.3441, allocations: 23.22 kB / 0.5226 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.795e-05/0.3441, allocations: 0.7969 kB / 0.5226 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001385/0.3442, allocations: 72.88 kB / 0.5227 GB, free: 492 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.174e-06/0.3443, allocations: 3.984 kB / 0.5227 GB, free: 488 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002761/0.3445, allocations: 100.4 kB / 0.5228 GB, free: 428 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.658e-05/0.3446, allocations: 53.03 kB / 0.5228 GB, free: 364 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.3448, allocations: 210 kB / 0.523 GB, free: 228 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.3448, allocations: 26.83 kB / 0.523 GB, free: 196 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.67e-05/0.3448, allocations: 103.3 kB / 0.5231 GB, free: 96 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-05/0.3449, allocations: 24.28 kB / 0.5232 GB, free: 76 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.228e-05/0.3449, allocations: 19.53 kB / 0.5232 GB, free: 56 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.345, allocations: 323.6 kB / 0.5235 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.307e-05/0.3451, allocations: 17.25 kB / 0.5235 GB, free: 15.73 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.656e-05/0.3451, allocations: 25.95 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.729e-05/0.3452, allocations: 46.31 kB / 0.5236 GB, free: 15.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.3453, allocations: 5.906 kB / 0.5236 GB, free: 15.68 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001582/0.3454, allocations: 83.86 kB / 0.5237 GB, free: 15.62 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3454, allocations: 6.031 kB / 0.5237 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3455, allocations: 4.031 kB / 0.5237 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.3455, allocations: 1.031 kB / 0.5237 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.096e-05/0.3456, allocations: 15.91 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3456, allocations: 0 / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.362e-05/0.3456, allocations: 2.875 kB / 0.5237 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.3457, allocations: 3.812 kB / 0.5237 GB, free: 15.61 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 (7): * Single equations (assignments): 7 * 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.0001045/0.3458, allocations: 127.2 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.3458, allocations: 9.328 kB / 0.5238 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.339e-05/0.3458, allocations: 15.58 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.3459, allocations: 5.844 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.3459, allocations: 3.938 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3459, allocations: 1.125 kB / 0.5238 GB, free: 15.47 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.346, allocations: 192.2 kB / 0.524 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.346, allocations: 0.6562 kB / 0.524 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.3461, allocations: 8.312 kB / 0.524 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.3461, allocations: 1.531 kB / 0.524 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.3461, allocations: 4.734 kB / 0.524 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3461, allocations: 1.594 kB / 0.524 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.3461, allocations: 3.938 kB / 0.524 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001867/0.3463, allocations: 117.5 kB / 0.5242 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.3464, allocations: 87.94 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.315e-05/0.3464, allocations: 1.734 kB / 0.5242 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.788e-05/0.3464, allocations: 6.672 kB / 0.5243 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.3465, allocations: 3.609 kB / 0.5243 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.27e-05/0.3465, allocations: 2.859 kB / 0.5243 GB, free: 15.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001295/0.3466, allocations: 156.4 kB / 0.5244 GB, free: 14.96 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3466, allocations: 4 kB / 0.5244 GB, free: 14.95 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002116/0.3469, allocations: 22.31 kB / 0.5244 GB, free: 14.95 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001412/0.3483, allocations: 0.9438 MB / 0.5254 GB, free: 14.23 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.3484, allocations: 37.84 kB / 0.5254 GB, free: 14.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3485, allocations: 4.062 kB / 0.5254 GB, free: 14.21 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.557e-05/0.3485, allocations: 30.08 kB / 0.5254 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002838/0.3488, allocations: 24.22 kB / 0.5254 GB, free: 14.2 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.3505, allocations: 1.536 MB / 0.5269 GB, free: 12.93 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.3508, allocations: 0.7044 MB / 0.5276 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.763e-05/0.3508, allocations: 16.28 kB / 0.5276 GB, free: 12.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.62e-05/0.3509, allocations: 31.03 kB / 0.5277 GB, free: 12.21 MB / 398.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3509, allocations: 2 kB / 0.5277 GB, free: 12.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02436/0.3753, allocations: 3.191 MB / 0.5308 GB, free: 10.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.638/8.013, allocations: 19.78 kB / 0.5308 GB, free: 10.82 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test65.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches