Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.001324/0.001325, allocations: 118.3 kB / 17.78 MB, free: 5.125 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.001353/0.001354, allocations: 184.2 kB / 18.72 MB, free: 4.203 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.445/1.445, 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.2109/0.2109, allocations: 44.19 MB / 336.8 MB, free: 2.668 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001871/0.001871, allocations: 67.89 kB / 470.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.3199, allocations: 60.83 MB / 0.5185 GB, free: 3.289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002672/0.3226, allocations: 1.908 MB / 0.5204 GB, free: 1.957 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001201/0.3238, allocations: 0.916 MB / 0.5213 GB, free: 1.324 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.806e-05/0.3239, allocations: 5.5 kB / 0.5213 GB, free: 1.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002859/0.3242, allocations: 42.31 kB / 0.5213 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001891/0.3244, allocations: 62.33 kB / 0.5214 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.3247, allocations: 126.4 kB / 0.5215 GB, free: 1.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3249, allocations: 138.9 kB / 0.5216 GB, free: 1.129 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001235/0.3251, allocations: 24.61 kB / 0.5216 GB, free: 1.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.59e-05/0.3252, allocations: 60.94 kB / 0.5217 GB, free: 1.086 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.524e-05/0.3253, allocations: 53.17 kB / 0.5217 GB, free: 1.055 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.3253, allocations: 9.906 kB / 0.5218 GB, free: 1.051 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.728e-05/0.3254, allocations: 46.34 kB / 0.5218 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.277e-05/0.3254, allocations: 22.56 kB / 0.5218 GB, free: 1.027 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.961e-05/0.3255, allocations: 50.33 kB / 0.5219 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002298/0.3257, allocations: 148.7 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.3258, allocations: 1.25 kB / 0.522 GB, free: 0.9297 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.893e-06/0.3258, allocations: 4.594 kB / 0.522 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.3258, 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.0005027/0.3263, allocations: 484.8 kB / 0.5225 GB, free: 472 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.3263, allocations: 14.22 kB / 0.5225 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.416e-05/0.3264, allocations: 38.06 kB / 0.5225 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.151e-05/0.3264, allocations: 17.48 kB / 0.5225 GB, free: 416 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.3267, allocations: 228.7 kB / 0.5228 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3267, allocations: 3.844 kB / 0.5228 GB, free: 184 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.3267, allocations: 13.39 kB / 0.5228 GB, free: 176 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002084/0.3269, allocations: 109.1 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3269, allocations: 1.062 kB / 0.5229 GB, free: 96 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.327, allocations: 5.219 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.327, allocations: 1.344 kB / 0.5229 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.3271, allocations: 48.19 kB / 0.5229 GB, free: 80 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006003/0.3277, allocations: 0.5076 MB / 0.5234 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003193/0.3281, allocations: 81.98 kB / 0.5235 GB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3282, allocations: 45.75 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.288e-05/0.3282, allocations: 2.109 kB / 0.5236 GB, free: 15.53 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001975/0.3284, allocations: 84.77 kB / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.703e-06/0.3284, allocations: 0 / 0.5236 GB, free: 15.47 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004025/0.3288, allocations: 147.8 kB / 0.5238 GB, free: 15.4 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.3289, allocations: 52.94 kB / 0.5238 GB, free: 15.34 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002026/0.3291, allocations: 191.9 kB / 0.524 GB, free: 15.2 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.3291, allocations: 28.36 kB / 0.524 GB, free: 15.17 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/0.3292, allocations: 119.3 kB / 0.5242 GB, free: 15.06 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.129e-05/0.3293, allocations: 29.09 kB / 0.5242 GB, free: 15.04 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.001e-05/0.3293, allocations: 29.3 kB / 0.5242 GB, free: 15.01 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.3295, allocations: 323.7 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.317e-05/0.3296, allocations: 28.78 kB / 0.5245 GB, free: 14.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001089/0.3297, allocations: 70.53 kB / 0.5246 GB, free: 14.63 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.3299, allocations: 105.5 kB / 0.5247 GB, free: 14.56 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.3299, allocations: 3.938 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002726/0.3302, allocations: 133.4 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.3302, allocations: 5.625 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3302, allocations: 2 kB / 0.5248 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.581e-05/0.3302, allocations: 5.219 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3303, allocations: 25.86 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.3303, allocations: 10.48 kB / 0.5249 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.121e-05/0.3304, allocations: 18.39 kB / 0.5249 GB, free: 14.46 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.738e-06/0.3304, allocations: 5.094 kB / 0.5249 GB, free: 14.46 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.000117/0.3306, allocations: 130.7 kB / 0.525 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.756e-05/0.3306, allocations: 14.44 kB / 0.525 GB, free: 14.33 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.409e-05/0.3307, allocations: 24.39 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.3307, allocations: 5.031 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3307, allocations: 1.094 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3307, allocations: 0.6094 kB / 0.5251 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.3309, allocations: 205.4 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.3309, allocations: 2.203 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.465e-05/0.331, allocations: 14.17 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.331, allocations: 1.375 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.182e-05/0.331, allocations: 2.312 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.187e-06/0.331, allocations: 3.938 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.331, allocations: 2.312 kB / 0.5253 GB, free: 14.09 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003832/0.3314, allocations: 182.2 kB / 0.5255 GB, free: 13.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.21e-05/0.3315, allocations: 96.77 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.3315, allocations: 2.141 kB / 0.5256 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-05/0.3316, allocations: 13.72 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.259e-05/0.3316, allocations: 6.484 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.706e-05/0.3316, allocations: 7.625 kB / 0.5256 GB, free: 13.86 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.3318, allocations: 143 kB / 0.5257 GB, free: 13.76 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3318, allocations: 0 / 0.5257 GB, free: 13.76 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.3321, allocations: 24.17 kB / 0.5258 GB, free: 13.76 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.001989/0.3341, allocations: 1.019 MB / 0.5267 GB, free: 13.02 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002499/0.3344, allocations: 86.44 kB / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3344, allocations: 0 / 0.5268 GB, free: 12.99 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 9.793e-05/0.3345, allocations: 36.45 kB / 0.5269 GB, free: 12.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000304/0.3348, allocations: 36.28 kB / 0.5269 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.3369, allocations: 1.721 MB / 0.5286 GB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3372, allocations: 0.7173 MB / 0.5293 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 7.834e-05/0.3373, allocations: 20.86 kB / 0.5293 GB, free: 10.89 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.801e-05/0.3374, allocations: 43.47 kB / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of SimCode: time 3e-07/0.3374, allocations: 1.5 kB / 0.5293 GB, free: 10.86 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/0.3636, allocations: 3.78 MB / 0.533 GB, free: 9.07 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.976/8.34, allocations: 20.11 kB / 0.5331 GB, free: 9.059 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_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_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches