Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.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.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test35,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test35",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.001696/0.001696, allocations: 111.1 kB / 17.78 MB, free: 5.281 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.002043/0.002043, 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.48/1.48, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2525/0.2525, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001303/0.001303, allocations: 59.91 kB / 470.1 MB, free: 13.58 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3708/0.3721, allocations: 60.83 MB / 0.5185 GB, free: 3.293 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003034/0.3752, allocations: 1.715 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001285/0.3765, allocations: 0.8794 MB / 0.5211 GB, free: 1.5 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.271e-05/0.3766, allocations: 5.188 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003333/0.377, allocations: 84.45 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002397/0.3772, allocations: 82.3 kB / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.3776, allocations: 114.3 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001933/0.3778, allocations: 119.5 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001099/0.3779, allocations: 20.92 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001099/0.378, allocations: 57.53 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001134/0.3781, allocations: 63.59 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.3782, allocations: 4.562 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.3783, allocations: 54.47 kB / 0.5216 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.3784, allocations: 21.25 kB / 0.5217 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.205e-05/0.3784, allocations: 50.7 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002229/0.3787, allocations: 132.7 kB / 0.5218 GB, free: 1.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3787, allocations: 4 kB / 0.5218 GB, free: 1.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3787, allocations: 0 / 0.5218 GB, free: 1.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3787, allocations: 1.281 kB / 0.5218 GB, free: 1.16 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004603/0.3792, allocations: 441.9 kB / 0.5223 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.3792, allocations: 9.328 kB / 0.5223 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.673e-05/0.3792, allocations: 33.16 kB / 0.5223 GB, free: 0.6914 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.3793, allocations: 10.7 kB / 0.5223 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002261/0.3795, allocations: 221.3 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3795, allocations: 2 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3796, allocations: 15.92 kB / 0.5225 GB, free: 460 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001482/0.3797, allocations: 61.84 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.3797, allocations: 0 / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.999e-06/0.3797, allocations: 0.6562 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.3798, allocations: 1.406 kB / 0.5226 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.728e-05/0.3798, allocations: 21.59 kB / 0.5226 GB, free: 412 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003141/0.3802, allocations: 304.2 kB / 0.5229 GB, free: 108 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000238/0.3804, allocations: 68.44 kB / 0.523 GB, free: 64 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.644e-05/0.3805, allocations: 21.08 kB / 0.523 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.3805, allocations: 1.156 kB / 0.523 GB, free: 52 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001819/0.3807, allocations: 80.55 kB / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of pre-optimization done (n=7): time 1.158e-05/0.3807, allocations: 0 / 0.5231 GB, free: 15.98 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007938/0.3815, allocations: 252.5 kB / 0.5233 GB, free: 15.86 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/0.3816, allocations: 57.84 kB / 0.5234 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002226/0.3818, allocations: 218.7 kB / 0.5236 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.3818, allocations: 26.89 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.526e-05/0.3819, allocations: 105.4 kB / 0.5237 GB, free: 15.53 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.356e-05/0.3819, allocations: 40.39 kB / 0.5237 GB, free: 15.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.448e-05/0.382, allocations: 24.41 kB / 0.5238 GB, free: 15.48 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.3821, allocations: 331.5 kB / 0.5241 GB, free: 15.16 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.898e-05/0.3822, allocations: 26.61 kB / 0.5241 GB, free: 15.15 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.11e-05/0.3823, allocations: 48.84 kB / 0.5242 GB, free: 15.12 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.3825, allocations: 80.31 kB / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.3825, allocations: 0 / 0.5242 GB, free: 15.07 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002188/0.3827, allocations: 129.2 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.3827, allocations: 10.09 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3827, allocations: 0.7969 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.3827, allocations: 1.938 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.3828, allocations: 26.61 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.3828, allocations: 1.969 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.3829, allocations: 6.641 kB / 0.5244 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.3829, allocations: 4.516 kB / 0.5244 GB, free: 14.99 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 (13): * Single equations (assignments): 13 * 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.0001019/0.383, allocations: 132.1 kB / 0.5245 GB, free: 14.87 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.39e-05/0.383, allocations: 9.016 kB / 0.5245 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.94e-05/0.3831, allocations: 23.34 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3831, allocations: 5.031 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.3831, allocations: 1.219 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3831, allocations: 0.7031 kB / 0.5246 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.3837, allocations: 460 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3837, allocations: 0.5625 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.573e-05/0.3837, allocations: 17.95 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.3837, allocations: 6.156 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/0.3838, allocations: 3.203 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.3838, allocations: 1.906 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.3838, allocations: 0 / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000264/0.384, allocations: 240.1 kB / 0.5253 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.685e-05/0.3841, allocations: 94.06 kB / 0.5254 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.3841, allocations: 8.703 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.229e-05/0.3842, allocations: 6.594 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3843, allocations: 10.86 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.686e-05/0.3843, allocations: 6.234 kB / 0.5254 GB, free: 14.14 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001475/0.3844, allocations: 174.1 kB / 0.5256 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3844, allocations: 0 / 0.5256 GB, free: 14.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000276/0.3847, allocations: 31.53 kB / 0.5256 GB, free: 14.02 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001566/0.3863, allocations: 1.172 MB / 0.5267 GB, free: 13.17 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002154/0.3865, allocations: 77.95 kB / 0.5268 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3865, allocations: 4.062 kB / 0.5268 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.887e-05/0.3866, allocations: 44 kB / 0.5268 GB, free: 13.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.387, allocations: 33.34 kB / 0.5269 GB, free: 13.11 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002016/0.389, allocations: 1.816 MB / 0.5287 GB, free: 11.67 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.3893, allocations: 0.7185 MB / 0.5294 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.049e-05/0.3894, allocations: 19.44 kB / 0.5294 GB, free: 10.96 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.674e-05/0.3895, allocations: 49.81 kB / 0.5294 GB, free: 10.93 MB / 398.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3895, allocations: 5.344 kB / 0.5294 GB, free: 10.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0213/0.4108, allocations: 3.86 MB / 0.5332 GB, free: 9.137 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.646/8.057, allocations: 19.66 kB / 0.5332 GB, free: 9.121 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_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_Test35.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test35.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches