Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test86,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86",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.001256/0.001257, allocations: 118.4 kB / 17.78 MB, free: 5.234 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.001216/0.001216, allocations: 183.8 kB / 18.72 MB, free: 4.312 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.384/1.384, allocations: 222.9 MB / 242.4 MB, free: 15.04 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.2156/0.2156, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001853/0.001853, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.292, allocations: 60.83 MB / 0.5185 GB, free: 3.285 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.002499/0.2945, allocations: 1.663 MB / 0.5201 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001072/0.2956, allocations: 0.8454 MB / 0.521 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.981e-05/0.2957, allocations: 5.562 kB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002543/0.2959, allocations: 63.7 kB / 0.521 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001881/0.2961, allocations: 64.94 kB / 0.5211 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.2964, allocations: 107.9 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001487/0.2965, allocations: 93.67 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.938e-05/0.2966, allocations: 5.547 kB / 0.5213 GB, free: 1.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.847e-05/0.2967, allocations: 50.56 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.617e-05/0.2968, allocations: 40.12 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2968, allocations: 7.156 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.705e-05/0.2969, allocations: 37.61 kB / 0.5214 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.631e-05/0.2969, allocations: 18.34 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.152e-05/0.297, allocations: 28.31 kB / 0.5215 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001667/0.2971, allocations: 102.9 kB / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.2972, allocations: 1.5 kB / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2972, allocations: 0 / 0.5216 GB, free: 1.266 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.148e-06/0.2972, allocations: 0 / 0.5216 GB, free: 1.266 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.0004088/0.2976, allocations: 404.7 kB / 0.5219 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.246e-05/0.2976, allocations: 12.59 kB / 0.522 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.298e-05/0.2977, allocations: 37.03 kB / 0.522 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.17e-05/0.2977, allocations: 9.391 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001969/0.2979, allocations: 202.1 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.2979, allocations: 1.844 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.34e-05/0.2979, allocations: 5.156 kB / 0.5222 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001204/0.2981, allocations: 54.73 kB / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2981, allocations: 0 / 0.5222 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.356e-06/0.2981, allocations: 5.031 kB / 0.5223 GB, free: 0.5508 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2981, allocations: 5.125 kB / 0.5223 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.417e-05/0.2982, allocations: 14.66 kB / 0.5223 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001336/0.2983, allocations: 174.4 kB / 0.5224 GB, free: 356 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001409/0.2985, allocations: 57.73 kB / 0.5225 GB, free: 316 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.754e-05/0.2985, allocations: 19.22 kB / 0.5225 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2985, allocations: 5.156 kB / 0.5225 GB, free: 300 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.2987, allocations: 76.91 kB / 0.5226 GB, free: 232 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.333e-06/0.2987, allocations: 0 / 0.5226 GB, free: 232 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002536/0.2989, allocations: 95.91 kB / 0.5227 GB, free: 176 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.299, allocations: 53.34 kB / 0.5227 GB, free: 112 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001763/0.2991, allocations: 185.5 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2992, allocations: 26.8 kB / 0.5229 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.59e-05/0.2993, allocations: 111.3 kB / 0.523 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.046e-05/0.2993, allocations: 15.53 kB / 0.5231 GB, free: 15.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.853e-05/0.2993, allocations: 20.88 kB / 0.5231 GB, free: 15.81 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2995, allocations: 320.8 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.135e-05/0.2996, allocations: 13.97 kB / 0.5234 GB, free: 15.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.349e-05/0.2996, allocations: 34.56 kB / 0.5234 GB, free: 15.46 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001013/0.2997, allocations: 46.31 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.958e-06/0.2997, allocations: 3.938 kB / 0.5235 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001619/0.2999, allocations: 80.95 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.2999, allocations: 4.719 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2999, allocations: 2 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3, allocations: 1.062 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/0.3, allocations: 10.2 kB / 0.5236 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.3001, allocations: 5.125 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.182e-05/0.3001, allocations: 3 kB / 0.5236 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.3001, allocations: 6.953 kB / 0.5236 GB, free: 15.37 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.0001127/0.3002, allocations: 133.1 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.3003, allocations: 16.73 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.389e-05/0.3003, allocations: 10.02 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.3003, allocations: 1.281 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.3003, allocations: 0.7031 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.3003, allocations: 1.156 kB / 0.5237 GB, free: 15.22 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3005, allocations: 185.2 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3005, allocations: 4.25 kB / 0.5239 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.414e-05/0.3005, allocations: 12.2 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3006, allocations: 0.6562 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.3006, allocations: 2.469 kB / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3006, allocations: 0 / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3006, allocations: 0 / 0.5239 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001895/0.3008, allocations: 113.9 kB / 0.524 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.999e-05/0.3008, allocations: 84.66 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.093e-05/0.3009, allocations: 0.75 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.539e-05/0.3009, allocations: 6.812 kB / 0.5241 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.301, allocations: 7.906 kB / 0.5241 GB, free: 14.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.301, allocations: 3.547 kB / 0.5241 GB, free: 14.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001186/0.3011, allocations: 138.5 kB / 0.5243 GB, free: 14.72 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3011, allocations: 0 / 0.5243 GB, free: 14.72 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002113/0.3013, allocations: 18.19 kB / 0.5243 GB, free: 14.71 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.00187/0.3032, allocations: 0.9616 MB / 0.5252 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001572/0.3034, allocations: 39.67 kB / 0.5253 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.3034, allocations: 1.125 kB / 0.5253 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.873e-05/0.3034, allocations: 21.34 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.3037, allocations: 31.39 kB / 0.5253 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001617/0.3053, allocations: 1.483 MB / 0.5268 GB, free: 12.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003341/0.3057, allocations: 0.7013 MB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.67e-05/0.3057, allocations: 11.52 kB / 0.5275 GB, free: 12 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.429e-05/0.3058, allocations: 28.62 kB / 0.5275 GB, free: 11.98 MB / 398.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3058, allocations: 0 / 0.5275 GB, free: 11.98 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02358/0.3294, allocations: 3.078 MB / 0.5305 GB, free: 10.73 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.806/8.135, allocations: 13.25 kB / 0.5305 GB, free: 10.72 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv --start-time 0 --stop-time 3 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0012 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test86.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches