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.001678/0.001678, allocations: 113.4 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.001858/0.001858, allocations: 179.1 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.355/1.355, 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.2042/0.2042, allocations: 44.2 MB / 336.8 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001455/0.001455, allocations: 71.89 kB / 470.1 MB, free: 13.56 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3399/0.3414, allocations: 60.81 MB / 0.5185 GB, free: 3.324 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003547/0.345, allocations: 1.737 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001516/0.3465, allocations: 0.8726 MB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.3467, allocations: 1.125 kB / 0.5211 GB, free: 1.512 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003812/0.3471, allocations: 81.72 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003244/0.3474, allocations: 84.47 kB / 0.5212 GB, free: 1.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004006/0.3478, allocations: 114.6 kB / 0.5213 GB, free: 1.395 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002506/0.3481, allocations: 115.9 kB / 0.5214 GB, free: 1.348 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.3482, allocations: 24.83 kB / 0.5215 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.3484, allocations: 53.52 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.3485, allocations: 63.61 kB / 0.5216 GB, free: 1.293 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.391e-05/0.3486, allocations: 8.406 kB / 0.5216 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.3487, allocations: 58.34 kB / 0.5216 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.207e-05/0.3488, allocations: 26.08 kB / 0.5217 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.3489, allocations: 38.19 kB / 0.5217 GB, free: 1.234 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003342/0.3492, allocations: 136.2 kB / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3492, allocations: 0 / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3492, allocations: 1.281 kB / 0.5218 GB, free: 1.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.314e-06/0.3493, allocations: 0 / 0.5218 GB, free: 1.18 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.0006364/0.3499, allocations: 448.3 kB / 0.5223 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.35, allocations: 14.06 kB / 0.5223 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.35, allocations: 36.8 kB / 0.5223 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.3501, allocations: 11.53 kB / 0.5223 GB, free: 0.6953 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000318/0.3504, allocations: 210 kB / 0.5225 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.3504, allocations: 5.938 kB / 0.5225 GB, free: 488 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.443e-05/0.3504, allocations: 6.5 kB / 0.5225 GB, free: 484 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.3506, allocations: 61.2 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.395e-05/0.3506, allocations: 2.188 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.3506, allocations: 0 / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.3507, allocations: 1.469 kB / 0.5226 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.284e-05/0.3507, allocations: 28.03 kB / 0.5226 GB, free: 428 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003724/0.3511, allocations: 305.4 kB / 0.5229 GB, free: 124 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.3514, allocations: 61.62 kB / 0.523 GB, free: 88 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.995e-05/0.3515, allocations: 20.8 kB / 0.523 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.3515, allocations: 0.75 kB / 0.523 GB, free: 76 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001473/0.3516, allocations: 71.59 kB / 0.5231 GB, free: 16 kB / 382.1 MB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3517, allocations: 0 / 0.5231 GB, free: 16 kB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008921/0.3525, allocations: 254.3 kB / 0.5233 GB, free: 15.89 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.3526, allocations: 60.5 kB / 0.5234 GB, free: 15.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002692/0.3529, allocations: 222.9 kB / 0.5236 GB, free: 15.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.838e-05/0.3529, allocations: 30.89 kB / 0.5236 GB, free: 15.65 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.141e-05/0.353, allocations: 109.9 kB / 0.5237 GB, free: 15.55 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.716e-05/0.353, allocations: 35.69 kB / 0.5237 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.301e-05/0.3531, allocations: 28.77 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3533, allocations: 324.3 kB / 0.5241 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.104e-05/0.3533, allocations: 30.39 kB / 0.5241 GB, free: 15.17 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.3534, allocations: 48.7 kB / 0.5242 GB, free: 15.14 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001431/0.3536, allocations: 79.56 kB / 0.5242 GB, free: 15.09 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.3536, allocations: 0 / 0.5242 GB, free: 15.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002265/0.3538, allocations: 133.5 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.3539, allocations: 7.094 kB / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.3539, allocations: 0 / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.791e-05/0.3539, allocations: 0 / 0.5244 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.612e-05/0.354, allocations: 27.95 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.354, allocations: 1.812 kB / 0.5244 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.542e-05/0.3541, allocations: 11.56 kB / 0.5244 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3541, allocations: 3.219 kB / 0.5244 GB, free: 15 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.0001238/0.3542, allocations: 135.4 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.899e-05/0.3542, allocations: 13.17 kB / 0.5245 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.438e-05/0.3543, allocations: 19.14 kB / 0.5246 GB, free: 14.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3543, allocations: 6.641 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3543, allocations: 0 / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-06/0.3543, allocations: 0.6562 kB / 0.5246 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005732/0.3549, allocations: 456.9 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.3549, allocations: 0.9375 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.506e-05/0.355, allocations: 13.64 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.355, allocations: 1.469 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.355, allocations: 6.953 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.355, allocations: 2.094 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.355, allocations: 4.906 kB / 0.525 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.3553, allocations: 240.8 kB / 0.5253 GB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.3554, allocations: 88.84 kB / 0.5254 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.035e-05/0.3554, allocations: 3.188 kB / 0.5254 GB, free: 14.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.3555, allocations: 11.61 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.3556, allocations: 8.219 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.066e-05/0.3556, allocations: 5.188 kB / 0.5254 GB, free: 14.16 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001922/0.3558, allocations: 178.8 kB / 0.5255 GB, free: 14.05 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.3558, allocations: 3.938 kB / 0.5256 GB, free: 14.05 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003053/0.3561, allocations: 30.88 kB / 0.5256 GB, free: 14.04 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.001816/0.3579, allocations: 1.174 MB / 0.5267 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002556/0.3582, allocations: 82.47 kB / 0.5268 GB, free: 13.16 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.3582, allocations: 4 kB / 0.5268 GB, free: 13.15 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001028/0.3583, allocations: 38.39 kB / 0.5268 GB, free: 13.14 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004027/0.3587, allocations: 31.05 kB / 0.5269 GB, free: 13.13 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002416/0.3612, allocations: 1.811 MB / 0.5286 GB, free: 11.7 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/0.3615, allocations: 0.7223 MB / 0.5294 GB, free: 10.99 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.027e-05/0.3616, allocations: 22.88 kB / 0.5294 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.4e-05/0.3617, allocations: 42.45 kB / 0.5294 GB, free: 10.95 MB / 398.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3617, allocations: 0 / 0.5294 GB, free: 10.95 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.3836, allocations: 3.852 MB / 0.5332 GB, free: 9.172 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.774/8.158, allocations: 22.81 kB / 0.5332 GB, free: 9.156 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