Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.001731/0.001731, 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.001718/0.001718, 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.467/1.467, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.2115/0.2115, allocations: 44.2 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 67.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3537/0.3555, allocations: 60.83 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003038/0.3586, allocations: 1.913 MB / 0.5204 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001261/0.3598, allocations: 0.9244 MB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.897e-05/0.3599, allocations: 4.812 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002769/0.3602, allocations: 35.73 kB / 0.5213 GB, free: 1.305 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001995/0.3604, allocations: 61.77 kB / 0.5214 GB, free: 1.266 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003028/0.3607, allocations: 131 kB / 0.5215 GB, free: 1.195 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002004/0.3609, allocations: 142.6 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.778e-05/0.361, allocations: 24.45 kB / 0.5216 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.778e-05/0.3611, allocations: 57.55 kB / 0.5217 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.184e-05/0.3612, allocations: 48.75 kB / 0.5218 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.08e-05/0.3612, allocations: 6.562 kB / 0.5218 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.219e-05/0.3613, allocations: 49.7 kB / 0.5218 GB, free: 1.043 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.598e-05/0.3613, allocations: 24.77 kB / 0.5218 GB, free: 1.031 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.3614, allocations: 52.61 kB / 0.5219 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000237/0.3616, allocations: 149 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.3616, allocations: 1.062 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.3616, allocations: 4.609 kB / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.3616, allocations: 0 / 0.522 GB, free: 0.9258 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005165/0.3622, allocations: 485.3 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.3622, allocations: 9.469 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.912e-05/0.3622, allocations: 38.56 kB / 0.5225 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.211e-05/0.3623, allocations: 17.2 kB / 0.5226 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002583/0.3625, allocations: 221.2 kB / 0.5228 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.3625, allocations: 11.28 kB / 0.5228 GB, free: 188 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.3626, allocations: 8.469 kB / 0.5228 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.3628, allocations: 110.1 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.3628, allocations: 1.156 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3628, allocations: 1.344 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.3628, allocations: 1.062 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001496/0.363, allocations: 52.14 kB / 0.5229 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000624/0.3636, allocations: 0.5076 MB / 0.5234 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003541/0.3639, allocations: 88.28 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001112/0.364, allocations: 35.08 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3641, allocations: 1.469 kB / 0.5236 GB, free: 15.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002637/0.3643, allocations: 85.55 kB / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.944e-06/0.3643, allocations: 0 / 0.5236 GB, free: 15.48 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0005925/0.3649, allocations: 152 kB / 0.5238 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.824e-05/0.365, allocations: 52.62 kB / 0.5238 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.3653, allocations: 192.4 kB / 0.524 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.3653, allocations: 27.58 kB / 0.524 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.3654, allocations: 122.5 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.836e-05/0.3654, allocations: 26.53 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.451e-05/0.3655, allocations: 29.56 kB / 0.5242 GB, free: 15.02 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001812/0.3657, allocations: 323 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001282/0.3658, allocations: 32.8 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001681/0.366, allocations: 70.5 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/0.3663, allocations: 96.81 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.3663, allocations: 3.938 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004008/0.3667, allocations: 136.8 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.3667, allocations: 6.25 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3667, allocations: 1.031 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.897e-05/0.3667, allocations: 6.719 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001439/0.3669, allocations: 29.73 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.556e-06/0.3669, allocations: 2.453 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.367, allocations: 14.61 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.367, allocations: 3.906 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001655/0.3672, allocations: 129 kB / 0.525 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.803e-05/0.3672, allocations: 14.53 kB / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.3673, allocations: 21.09 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.3673, allocations: 4.453 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3673, allocations: 5.688 kB / 0.5251 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3673, allocations: 0.7969 kB / 0.5251 GB, free: 14.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002748/0.3676, allocations: 204.9 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3676, allocations: 0.6094 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.95e-05/0.3677, allocations: 12.88 kB / 0.5253 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.95e-06/0.3677, allocations: 7.922 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3677, allocations: 2.422 kB / 0.5253 GB, free: 14.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3677, allocations: 4.688 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.3677, allocations: 0 / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.3682, allocations: 182.4 kB / 0.5255 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.745e-05/0.3683, allocations: 94.36 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.3684, allocations: 6.344 kB / 0.5256 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.144e-05/0.3684, allocations: 13.22 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.51e-05/0.3685, allocations: 5.875 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.335e-05/0.3685, allocations: 8.266 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001752/0.3687, allocations: 137.3 kB / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3687, allocations: 5.406 kB / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003996/0.3691, allocations: 23.98 kB / 0.5257 GB, free: 13.77 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (9): * Single equations (assignments): 7 * 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.002816/0.3719, allocations: 1.014 MB / 0.5267 GB, free: 13.03 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003691/0.3723, allocations: 79.14 kB / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3723, allocations: 0 / 0.5268 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.3724, allocations: 38 kB / 0.5269 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004896/0.3729, allocations: 45.55 kB / 0.5269 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003134/0.3761, allocations: 1.729 MB / 0.5286 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004514/0.3765, allocations: 0.7178 MB / 0.5293 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.3766, allocations: 20.31 kB / 0.5293 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3767, allocations: 40.33 kB / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.3767, allocations: 0 / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02797/0.4047, allocations: 3.792 MB / 0.533 GB, free: 9.062 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.269/8.674, allocations: 0.8438 kB / 0.533 GB, free: 9.062 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches