Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.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.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test85,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test85",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.001637/0.001637, allocations: 113.2 kB / 17.78 MB, free: 5.262 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.001105/0.001105, allocations: 185 kB / 18.72 MB, free: 4.336 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.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2003/0.2003, allocations: 44.19 MB / 336.8 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 63.91 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3099/0.3113, allocations: 60.82 MB / 0.5185 GB, free: 3.273 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002691/0.314, allocations: 1.663 MB / 0.5201 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001179/0.3152, allocations: 0.8534 MB / 0.521 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.3153, allocations: 5.281 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002835/0.3156, allocations: 51.62 kB / 0.521 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.3158, allocations: 60.45 kB / 0.5211 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002664/0.3161, allocations: 107.5 kB / 0.5212 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000174/0.3163, allocations: 97.52 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.817e-05/0.3163, allocations: 5.406 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.462e-05/0.3164, allocations: 44.06 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.47e-05/0.3165, allocations: 48.61 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.3166, allocations: 2.438 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.3167, allocations: 33.73 kB / 0.5214 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.52e-05/0.3167, allocations: 17.19 kB / 0.5214 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.992e-05/0.3168, allocations: 28.84 kB / 0.5214 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001928/0.317, allocations: 89.34 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.317, allocations: 1.125 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.317, allocations: 0.5625 kB / 0.5215 GB, free: 1.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.049e-05/0.317, allocations: 0 / 0.5215 GB, free: 1.262 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.0004601/0.3175, allocations: 410.9 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.3175, allocations: 8.969 kB / 0.5219 GB, free: 0.8516 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.3175, allocations: 32.41 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.3176, allocations: 13.81 kB / 0.522 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.3178, allocations: 204.8 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.3178, allocations: 1.531 kB / 0.5222 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.639e-05/0.3178, allocations: 9.969 kB / 0.5222 GB, free: 0.582 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001246/0.318, allocations: 46.52 kB / 0.5222 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.318, allocations: 4 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-06/0.318, allocations: 1.656 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.318, allocations: 1.031 kB / 0.5222 GB, free: 0.543 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.3181, allocations: 15.48 kB / 0.5222 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001354/0.3182, allocations: 180.3 kB / 0.5224 GB, free: 344 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001495/0.3184, allocations: 56.95 kB / 0.5225 GB, free: 304 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.937e-05/0.3184, allocations: 23.83 kB / 0.5225 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.3185, allocations: 1.531 kB / 0.5225 GB, free: 288 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001317/0.3186, allocations: 68.8 kB / 0.5226 GB, free: 228 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.313e-06/0.3186, allocations: 3.938 kB / 0.5226 GB, free: 224 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002595/0.3189, allocations: 100.4 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.124e-05/0.3189, allocations: 51.41 kB / 0.5227 GB, free: 100 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001574/0.3191, allocations: 171.1 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.3191, allocations: 30.83 kB / 0.5229 GB, free: 15.94 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.772e-05/0.3191, allocations: 98.69 kB / 0.523 GB, free: 15.85 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.085e-05/0.3192, allocations: 11.66 kB / 0.523 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.892e-05/0.3192, allocations: 24.66 kB / 0.523 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3193, allocations: 320.3 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.933e-05/0.3194, allocations: 13.64 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.608e-05/0.3195, allocations: 31.03 kB / 0.5234 GB, free: 15.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.796e-05/0.3196, allocations: 50.08 kB / 0.5234 GB, free: 15.44 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.676e-06/0.3196, allocations: 3.938 kB / 0.5234 GB, free: 15.43 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001629/0.3197, allocations: 75.77 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/0.3198, allocations: 9.875 kB / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.3198, allocations: 0 / 0.5235 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.336e-05/0.3198, allocations: 5.938 kB / 0.5235 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.436e-05/0.3199, allocations: 9.859 kB / 0.5235 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.3199, allocations: 1.844 kB / 0.5235 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.31e-05/0.3199, allocations: 6.688 kB / 0.5235 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.873e-06/0.32, allocations: 2.156 kB / 0.5235 GB, free: 15.38 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.0001051/0.3201, allocations: 128.3 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.138e-05/0.3201, allocations: 11.69 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.598e-05/0.3201, allocations: 14.7 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-06/0.3201, allocations: 0.875 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.3202, allocations: 0 / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.3202, allocations: 1.719 kB / 0.5237 GB, free: 15.23 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001398/0.3203, allocations: 187.1 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3203, allocations: 1.094 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.098e-05/0.3203, allocations: 3.812 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3203, allocations: 1.016 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.153e-06/0.3204, allocations: 1.156 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.351e-06/0.3204, allocations: 6.016 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3204, allocations: 3.938 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001826/0.3206, allocations: 108.2 kB / 0.524 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.94e-05/0.3206, allocations: 88.17 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.056e-05/0.3207, allocations: 1.703 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.516e-05/0.3207, allocations: 3.625 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.931e-05/0.3207, allocations: 3.766 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.21e-05/0.3207, allocations: 2.984 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001043/0.3209, allocations: 133.8 kB / 0.5242 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3209, allocations: 0 / 0.5242 GB, free: 14.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002098/0.3211, allocations: 21.77 kB / 0.5242 GB, free: 14.73 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.00123/0.3223, allocations: 0.9603 MB / 0.5252 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.3225, allocations: 36.86 kB / 0.5252 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3225, allocations: 0 / 0.5252 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.463e-05/0.3226, allocations: 25.58 kB / 0.5252 GB, free: 13.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002634/0.3228, allocations: 32.23 kB / 0.5253 GB, free: 13.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3243, allocations: 1.442 MB / 0.5267 GB, free: 12.74 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3246, allocations: 0.6958 MB / 0.5273 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 4.941e-05/0.3247, allocations: 14.95 kB / 0.5274 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.536e-05/0.3247, allocations: 28.48 kB / 0.5274 GB, free: 12.02 MB / 398.1 MB Notification: Performance of SimCode: time 2.8e-07/0.3247, allocations: 4 kB / 0.5274 GB, free: 12.02 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01935/0.3441, allocations: 3.015 MB / 0.5303 GB, free: 10.82 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.208/7.552, allocations: 2.656 kB / 0.5303 GB, free: 10.82 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_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_Test85.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test85.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches