Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.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.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test52,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52",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.001256, allocations: 113.8 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.001285/0.001285, allocations: 179.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.388/1.388, allocations: 222.9 MB / 242.4 MB, free: 15.16 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.2118/0.2118, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3122, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002784/0.315, allocations: 1.712 MB / 0.5202 GB, free: 2.105 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.3162, allocations: 0.8721 MB / 0.521 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.524e-05/0.3162, allocations: 5 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002713/0.3165, allocations: 42.36 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.3167, allocations: 67.36 kB / 0.5211 GB, free: 1.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002698/0.317, allocations: 104.8 kB / 0.5212 GB, free: 1.398 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.3171, allocations: 95.81 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.438e-05/0.3172, allocations: 10.98 kB / 0.5213 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.052e-05/0.3173, allocations: 49.72 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.3173, allocations: 29.28 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.705e-05/0.3174, allocations: 3.844 kB / 0.5214 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.969e-05/0.3175, allocations: 42.56 kB / 0.5215 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.3175, allocations: 25.12 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.555e-05/0.3176, allocations: 37.55 kB / 0.5215 GB, free: 1.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3178, allocations: 116.4 kB / 0.5216 GB, free: 1.211 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3178, allocations: 4 kB / 0.5216 GB, free: 1.207 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.123e-06/0.3178, allocations: 3.938 kB / 0.5216 GB, free: 1.203 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.3178, allocations: 0 / 0.5216 GB, free: 1.203 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004514/0.3182, allocations: 435.5 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.683e-05/0.3183, allocations: 9.75 kB / 0.5221 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.935e-05/0.3183, allocations: 33.61 kB / 0.5221 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.621e-05/0.3183, allocations: 10.39 kB / 0.5221 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002277/0.3185, allocations: 211.8 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.53e-05/0.3186, allocations: 6.656 kB / 0.5223 GB, free: 0.5117 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.3186, allocations: 6.938 kB / 0.5223 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3187, allocations: 58.08 kB / 0.5224 GB, free: 476 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.3187, allocations: 4 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.3188, allocations: 0 / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.3188, allocations: 1.031 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.861e-05/0.3188, allocations: 19.86 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.3191, allocations: 293.2 kB / 0.5227 GB, free: 168 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001553/0.3193, allocations: 58.16 kB / 0.5227 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.3193, allocations: 23.22 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.14e-05/0.3193, allocations: 2.219 kB / 0.5228 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001311/0.3195, allocations: 64.84 kB / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.232e-06/0.3195, allocations: 0 / 0.5228 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005265/0.32, allocations: 178.1 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.953e-05/0.3201, allocations: 60.53 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002946/0.3204, allocations: 223 kB / 0.5233 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.3204, allocations: 31.14 kB / 0.5233 GB, free: 15.72 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.131e-05/0.3204, allocations: 106 kB / 0.5234 GB, free: 15.62 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.452e-05/0.3205, allocations: 29.91 kB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.593e-05/0.3205, allocations: 21.62 kB / 0.5234 GB, free: 15.58 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.3207, allocations: 327.5 kB / 0.5238 GB, free: 15.26 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.754e-05/0.3207, allocations: 22.5 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.241e-05/0.3208, allocations: 46.72 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3209, allocations: 57.22 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3209, allocations: 0 / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001888/0.3211, allocations: 106.4 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3211, allocations: 5.812 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3211, allocations: 1.266 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.3211, allocations: 1.219 kB / 0.524 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.582e-05/0.3212, allocations: 23.33 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.3212, allocations: 1.75 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.3213, allocations: 5.812 kB / 0.524 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3213, allocations: 3.406 kB / 0.524 GB, free: 15.11 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.0001135/0.3214, allocations: 134.8 kB / 0.5242 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.59e-05/0.3214, allocations: 14.27 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.3215, allocations: 17.06 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.3215, allocations: 1.344 kB / 0.5242 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3215, allocations: 5.188 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.3215, allocations: 4.594 kB / 0.5242 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004637/0.3219, allocations: 398 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3219, allocations: 0.75 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.186e-05/0.322, allocations: 9.047 kB / 0.5246 GB, free: 14.6 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.322, allocations: 5.75 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.156e-05/0.322, allocations: 5.938 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.322, allocations: 5.125 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.322, allocations: 1.219 kB / 0.5246 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002387/0.3222, allocations: 205.2 kB / 0.5248 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.689e-05/0.3223, allocations: 89.8 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.807e-05/0.3223, allocations: 10.23 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.3224, allocations: 2.734 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.91e-05/0.3224, allocations: 6.625 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.415e-05/0.3224, allocations: 4.25 kB / 0.5249 GB, free: 14.31 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.3226, allocations: 178.9 kB / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3226, allocations: 0 / 0.5251 GB, free: 14.2 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002553/0.3229, allocations: 29.33 kB / 0.5251 GB, free: 14.19 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.002078/0.3249, allocations: 1.097 MB / 0.5262 GB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001713/0.3251, allocations: 50.02 kB / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3251, allocations: 0 / 0.5262 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.695e-05/0.3252, allocations: 34.91 kB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003585/0.3255, allocations: 36.42 kB / 0.5263 GB, free: 13.33 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001995/0.3275, allocations: 1.728 MB / 0.528 GB, free: 11.94 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003536/0.3279, allocations: 0.7183 MB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.194e-05/0.3279, allocations: 13.36 kB / 0.5287 GB, free: 11.23 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.066e-05/0.328, allocations: 40.22 kB / 0.5287 GB, free: 11.21 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.328, allocations: 0 / 0.5287 GB, free: 11.21 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.3527, allocations: 3.544 MB / 0.5322 GB, free: 9.656 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.977/8.33, allocations: 1.062 kB / 0.5322 GB, free: 9.656 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv --start-time 0 --stop-time 2.5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test52.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test52/Test52.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test52.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches