Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test81,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81",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.001561/0.001561, allocations: 118.4 kB / 17.79 MB, free: 5.254 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.001649/0.001649, allocations: 183.8 kB / 18.72 MB, free: 4.332 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.433/1.433, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2121/0.2121, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 71.88 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3177/0.3196, allocations: 60.82 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002591/0.3222, allocations: 1.798 MB / 0.5202 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.3241, allocations: 1.56 MB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.765e-05/0.3242, allocations: 1.031 kB / 0.5218 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000303/0.3245, allocations: 52.98 kB / 0.5218 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002762/0.3248, allocations: 89.67 kB / 0.5219 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003629/0.3252, allocations: 171.7 kB / 0.5221 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002329/0.3254, allocations: 183 kB / 0.5222 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.172e-05/0.3255, allocations: 13.98 kB / 0.5223 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001159/0.3256, allocations: 88.91 kB / 0.5223 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002001/0.3258, allocations: 68.05 kB / 0.5224 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.587e-05/0.3258, allocations: 8.031 kB / 0.5224 GB, free: 0.5859 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.326, allocations: 61.06 kB / 0.5225 GB, free: 0.5703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.326, allocations: 29.5 kB / 0.5225 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.158e-05/0.3261, allocations: 57.75 kB / 0.5226 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002814/0.3264, allocations: 168.8 kB / 0.5227 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3264, allocations: 0 / 0.5227 GB, free: 460 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3264, allocations: 1.438 kB / 0.5227 GB, free: 460 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.3264, allocations: 0 / 0.5227 GB, free: 460 kB / 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.0006194/0.3271, allocations: 480.2 kB / 0.5232 GB, free: 16 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.3271, allocations: 13.28 kB / 0.5232 GB, free: 15.99 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.3272, allocations: 33.61 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.53e-05/0.3272, allocations: 17.77 kB / 0.5232 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.3276, allocations: 244.5 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.3276, allocations: 1.812 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3277, allocations: 11.52 kB / 0.5235 GB, free: 15.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.3279, allocations: 101.7 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.3279, allocations: 1.5 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.263e-05/0.3279, allocations: 0.75 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.3279, allocations: 1.312 kB / 0.5236 GB, free: 15.62 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000126/0.3281, allocations: 34.86 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002668/0.3284, allocations: 208.5 kB / 0.5238 GB, free: 15.4 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003108/0.3287, allocations: 110.1 kB / 0.5239 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.3288, allocations: 37.97 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.809e-05/0.3288, allocations: 11.39 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002336/0.3291, allocations: 112.6 kB / 0.5241 GB, free: 15.21 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.312e-06/0.3291, allocations: 0 / 0.5241 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000471/0.3296, allocations: 163.8 kB / 0.5242 GB, free: 15.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.793e-05/0.3297, allocations: 132.3 kB / 0.5244 GB, free: 14.98 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002588/0.3299, allocations: 221.6 kB / 0.5246 GB, free: 14.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.307e-05/0.33, allocations: 27.59 kB / 0.5246 GB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.368e-05/0.33, allocations: 111.1 kB / 0.5247 GB, free: 14.7 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.423e-05/0.3301, allocations: 31.5 kB / 0.5247 GB, free: 14.68 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.935e-05/0.3302, allocations: 25.03 kB / 0.5248 GB, free: 14.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3303, allocations: 333.1 kB / 0.5251 GB, free: 14.33 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.803e-05/0.3304, allocations: 26.02 kB / 0.5251 GB, free: 14.32 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.3305, allocations: 76.36 kB / 0.5252 GB, free: 14.26 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000208/0.3308, allocations: 93.03 kB / 0.5253 GB, free: 14.2 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.3308, allocations: 3.938 kB / 0.5253 GB, free: 14.19 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002766/0.3311, allocations: 138.8 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.3311, allocations: 4.969 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3311, allocations: 2.031 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3311, allocations: 3.188 kB / 0.5254 GB, free: 14.12 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000112/0.3312, allocations: 23.59 kB / 0.5254 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3312, allocations: 1.594 kB / 0.5254 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.215e-05/0.3313, allocations: 14.55 kB / 0.5254 GB, free: 14.11 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.3313, allocations: 3.312 kB / 0.5254 GB, free: 14.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001277/0.3315, allocations: 139.2 kB / 0.5256 GB, free: 13.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.3315, allocations: 18.77 kB / 0.5256 GB, free: 13.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.858e-05/0.3316, allocations: 21.61 kB / 0.5256 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.3316, allocations: 0 / 0.5256 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3316, allocations: 3.938 kB / 0.5256 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3316, allocations: 1.266 kB / 0.5256 GB, free: 13.95 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002193/0.3318, allocations: 220.1 kB / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.3318, allocations: 0.5625 kB / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.298e-05/0.3319, allocations: 8.266 kB / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3319, allocations: 1.25 kB / 0.5258 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.3319, allocations: 10.61 kB / 0.5259 GB, free: 13.73 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-06/0.3319, allocations: 5.328 kB / 0.5259 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3319, allocations: 5.281 kB / 0.5259 GB, free: 13.72 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3323, allocations: 167.6 kB / 0.526 GB, free: 13.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.205e-05/0.3323, allocations: 94.22 kB / 0.5261 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.3324, allocations: 2.656 kB / 0.5261 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.789e-05/0.3325, allocations: 9.969 kB / 0.5261 GB, free: 13.5 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.3325, allocations: 14.81 kB / 0.5261 GB, free: 13.49 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.897e-05/0.3326, allocations: 6.25 kB / 0.5261 GB, free: 13.49 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001766/0.3327, allocations: 156.3 kB / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3327, allocations: 0 / 0.5263 GB, free: 13.39 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002673/0.333, allocations: 36.66 kB / 0.5263 GB, free: 13.39 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002145/0.3352, allocations: 1.053 MB / 0.5274 GB, free: 12.62 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002601/0.3354, allocations: 82.72 kB / 0.5274 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.3355, allocations: 0 / 0.5274 GB, free: 12.6 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3356, allocations: 50.89 kB / 0.5275 GB, free: 12.58 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003564/0.3359, allocations: 47.23 kB / 0.5275 GB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002306/0.3383, allocations: 1.814 MB / 0.5293 GB, free: 11.16 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003672/0.3386, allocations: 0.713 MB / 0.53 GB, free: 10.46 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001028/0.3387, allocations: 41.92 kB / 0.53 GB, free: 10.45 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.649e-05/0.3388, allocations: 52.41 kB / 0.5301 GB, free: 10.41 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3389, allocations: 0 / 0.5301 GB, free: 10.41 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02692/0.3658, allocations: 4.709 MB / 0.5347 GB, free: 8.008 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.867/8.233, allocations: 14.03 kB / 0.5347 GB, free: 7.996 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test81.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches