Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.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.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39",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.001358/0.001358, 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.00139/0.00139, 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.38/1.38, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2084/0.2084, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002046/0.002046, allocations: 71.89 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3058, allocations: 60.83 MB / 0.5185 GB, free: 3.305 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.002429/0.3083, allocations: 1.667 MB / 0.5201 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.3094, allocations: 0.8503 MB / 0.521 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.126e-05/0.3095, allocations: 4.719 kB / 0.521 GB, free: 1.555 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002893/0.3098, allocations: 61.84 kB / 0.521 GB, free: 1.535 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.31, allocations: 73.64 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002402/0.3102, allocations: 103.1 kB / 0.5212 GB, free: 1.441 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.3104, allocations: 95.22 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.3104, allocations: 5.172 kB / 0.5213 GB, free: 1.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.3105, allocations: 50.16 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.846e-05/0.3106, allocations: 43.88 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.3106, allocations: 2.875 kB / 0.5214 GB, free: 1.363 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.682e-05/0.3107, allocations: 33.77 kB / 0.5214 GB, free: 1.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.781e-05/0.3108, allocations: 21.81 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.347e-05/0.3108, allocations: 29.27 kB / 0.5215 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.311, allocations: 99.84 kB / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.311, allocations: 0 / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.923e-06/0.311, allocations: 0 / 0.5216 GB, free: 1.281 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.311, allocations: 0 / 0.5216 GB, free: 1.281 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.0004261/0.3115, allocations: 404 kB / 0.5219 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3115, allocations: 10.88 kB / 0.522 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.5e-05/0.3115, allocations: 39.44 kB / 0.522 GB, free: 0.832 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.326e-05/0.3116, allocations: 14.61 kB / 0.522 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.3118, allocations: 208.8 kB / 0.5222 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-06/0.3118, allocations: 1.969 kB / 0.5222 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.3118, allocations: 5.219 kB / 0.5222 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.312, allocations: 51.77 kB / 0.5223 GB, free: 0.5625 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.312, allocations: 3.938 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.312, allocations: 0 / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.312, allocations: 1.672 kB / 0.5223 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.3121, allocations: 14.62 kB / 0.5223 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.3122, allocations: 179.4 kB / 0.5224 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001467/0.3124, allocations: 61.11 kB / 0.5225 GB, free: 320 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.906e-05/0.3124, allocations: 18.83 kB / 0.5225 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3124, allocations: 1.812 kB / 0.5225 GB, free: 308 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001305/0.3126, allocations: 67.45 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.393e-06/0.3126, allocations: 1.094 kB / 0.5226 GB, free: 248 kB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002773/0.3129, allocations: 104 kB / 0.5227 GB, free: 184 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.516e-05/0.3129, allocations: 53.16 kB / 0.5227 GB, free: 120 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001765/0.3131, allocations: 185.7 kB / 0.5229 GB, free: 15.98 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.042e-05/0.3131, allocations: 25.7 kB / 0.5229 GB, free: 15.95 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.611e-05/0.3132, allocations: 103.6 kB / 0.523 GB, free: 15.86 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.305e-05/0.3132, allocations: 16.36 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.926e-05/0.3133, allocations: 23.56 kB / 0.5231 GB, free: 15.82 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001482/0.3134, allocations: 322.1 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.3135, allocations: 12.64 kB / 0.5234 GB, free: 15.5 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.527e-05/0.3136, allocations: 31.88 kB / 0.5234 GB, free: 15.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.3137, allocations: 45.88 kB / 0.5235 GB, free: 15.45 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.3137, allocations: 3.938 kB / 0.5235 GB, free: 15.44 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000169/0.3139, allocations: 80.44 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3139, allocations: 6.688 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3139, allocations: 0 / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3139, allocations: 5.406 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.314, allocations: 10.47 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.314, allocations: 2.344 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.069e-05/0.314, allocations: 1.984 kB / 0.5236 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3141, allocations: 2.938 kB / 0.5236 GB, free: 15.39 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.0001174/0.3142, allocations: 129.2 kB / 0.5237 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.3142, allocations: 20.2 kB / 0.5237 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.3143, allocations: 10.56 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.3143, allocations: 0.7031 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3143, allocations: 1.469 kB / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3143, allocations: 0 / 0.5237 GB, free: 15.24 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001698/0.3145, allocations: 192.8 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3145, allocations: 1.438 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.96e-05/0.3145, allocations: 3.172 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.3145, allocations: 1.969 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.999e-06/0.3145, allocations: 1.016 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.13e-06/0.3145, allocations: 9.5 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.3145, allocations: 3.938 kB / 0.5239 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.3147, allocations: 109.8 kB / 0.524 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.3148, allocations: 83.16 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.129e-05/0.3148, allocations: 3.031 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.382e-05/0.3149, allocations: 2.047 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.435e-05/0.3149, allocations: 6.812 kB / 0.5241 GB, free: 14.83 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.263e-05/0.3149, allocations: 7.047 kB / 0.5241 GB, free: 14.82 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.315, allocations: 140 kB / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.315, allocations: 0 / 0.5243 GB, free: 14.73 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002069/0.3153, allocations: 17.77 kB / 0.5243 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.001797/0.3171, allocations: 0.9637 MB / 0.5252 GB, free: 14 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001589/0.3172, allocations: 35.56 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.3172, allocations: 5.281 kB / 0.5253 GB, free: 13.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 6.338e-05/0.3173, allocations: 21.42 kB / 0.5253 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.0002599/0.3176, allocations: 28.44 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.001623/0.3192, allocations: 1.485 MB / 0.5268 GB, free: 12.71 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.3196, allocations: 0.7037 MB / 0.5275 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.466e-05/0.3197, allocations: 15.66 kB / 0.5275 GB, free: 12.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.428e-05/0.3197, allocations: 28.08 kB / 0.5275 GB, free: 11.99 MB / 398.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3197, allocations: 0 / 0.5275 GB, free: 11.99 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02726/0.347, allocations: 3.059 MB / 0.5305 GB, free: 10.77 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.046/8.393, allocations: 24.69 kB / 0.5305 GB, free: 10.75 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches