Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001558/0.001558, allocations: 122.2 kB / 17.84 MB, free: 5.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001975/0.001975, allocations: 211.8 kB / 20.8 MB, free: 2.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.629/1.629, allocations: 207.6 MB / 231.2 MB, free: 4.145 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.37/0.37, allocations: 44.23 MB / 327.3 MB, free: 6.773 MB / 254.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002637/0.002637, allocations: 76.31 kB / 462.9 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3357/0.3383, allocations: 61 MB / 0.5116 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003719/0.342, allocations: 2.987 MB / 0.5145 GB, free: 10.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001307/0.3433, allocations: 0.7764 MB / 0.5153 GB, free: 10.33 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001928/0.3435, allocations: 9.531 kB / 0.5153 GB, free: 10.32 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000176/0.3437, allocations: 57.09 kB / 0.5154 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.3439, allocations: 110.4 kB / 0.5155 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002897/0.3442, allocations: 113.8 kB / 0.5156 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004247/0.3446, allocations: 482.3 kB / 0.516 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002152/0.3448, allocations: 109.4 kB / 0.5161 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002107/0.345, allocations: 186.5 kB / 0.5163 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002089/0.3452, allocations: 209.2 kB / 0.5165 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.3453, allocations: 38.25 kB / 0.5166 GB, free: 9.453 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.494e-05/0.3454, allocations: 43.62 kB / 0.5166 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.801e-05/0.3454, allocations: 89.3 kB / 0.5167 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.3456, allocations: 202.1 kB / 0.5169 GB, free: 9.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003848/0.346, allocations: 470.7 kB / 0.5173 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.346, allocations: 0 / 0.5173 GB, free: 8.883 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.346, allocations: 1.375 kB / 0.5173 GB, free: 8.883 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.364e-05/0.346, allocations: 0 / 0.5173 GB, free: 8.883 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001346/0.3473, allocations: 0.7153 MB / 0.518 GB, free: 8.273 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.3474, allocations: 13.48 kB / 0.518 GB, free: 8.27 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.549e-05/0.3474, allocations: 10.81 kB / 0.518 GB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.249e-05/0.3475, allocations: 75.09 kB / 0.5181 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.608e-05/0.3475, allocations: 45.28 kB / 0.5182 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003979/0.3479, allocations: 290.4 kB / 0.5184 GB, free: 7.883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.972e-05/0.348, allocations: 36.97 kB / 0.5185 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.489e-05/0.348, allocations: 36.59 kB / 0.5185 GB, free: 7.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005816/0.3486, allocations: 353.4 kB / 0.5188 GB, free: 7.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3486, allocations: 3.938 kB / 0.5188 GB, free: 7.598 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.351e-05/0.3487, allocations: 16 kB / 0.5189 GB, free: 7.582 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-06/0.3487, allocations: 8 kB / 0.5189 GB, free: 7.574 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005291/0.3492, allocations: 303.8 kB / 0.5192 GB, free: 7.277 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001731/0.3509, allocations: 1.345 MB / 0.5205 GB, free: 5.836 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004284/0.3514, allocations: 245 kB / 0.5207 GB, free: 5.59 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.3516, allocations: 137.4 kB / 0.5208 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.675e-05/0.3516, allocations: 4.281 kB / 0.5208 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.3517, allocations: 42.78 kB / 0.5209 GB, free: 5.398 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.723e-06/0.3517, allocations: 0 / 0.5209 GB, free: 5.398 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.000767/0.3524, allocations: 382.6 kB / 0.5213 GB, free: 5.02 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.3525, allocations: 55.41 kB / 0.5213 GB, free: 4.953 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002135/0.3527, allocations: 262.6 kB / 0.5216 GB, free: 4.688 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3527, allocations: 33.7 kB / 0.5216 GB, free: 4.648 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.446e-05/0.3528, allocations: 204.4 kB / 0.5218 GB, free: 4.445 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.077e-05/0.3528, allocations: 130.9 kB / 0.5219 GB, free: 4.316 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.683e-05/0.3529, allocations: 74.12 kB / 0.522 GB, free: 4.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.834e-05/0.353, allocations: 334.8 kB / 0.5223 GB, free: 3.902 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002099/0.3532, allocations: 104.8 kB / 0.5224 GB, free: 3.801 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.3535, allocations: 183.4 kB / 0.5226 GB, free: 3.602 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.3539, allocations: 288.6 kB / 0.5228 GB, free: 3.297 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.965e-06/0.3539, allocations: 0 / 0.5228 GB, free: 3.297 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.000554/0.3545, allocations: 370.3 kB / 0.5232 GB, free: 2.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.3545, allocations: 12.22 kB / 0.5232 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3545, allocations: 0 / 0.5232 GB, free: 2.918 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3545, allocations: 4 kB / 0.5232 GB, free: 2.914 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004552/0.355, allocations: 103.9 kB / 0.5233 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.355, allocations: 7.938 kB / 0.5233 GB, free: 2.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002672/0.3552, allocations: 43.66 kB / 0.5234 GB, free: 2.762 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.3553, allocations: 12 kB / 0.5234 GB, free: 2.75 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (47): * Single equations (assignments): 47 * 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.0001227/0.3554, allocations: 153.7 kB / 0.5235 GB, free: 2.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.268e-05/0.3554, allocations: 35.81 kB / 0.5236 GB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006531/0.3561, allocations: 324.2 kB / 0.5239 GB, free: 2.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.3561, allocations: 4 kB / 0.5239 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3561, allocations: 0 / 0.5239 GB, free: 2.227 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.3561, allocations: 3.984 kB / 0.5239 GB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003435/0.3564, allocations: 401.2 kB / 0.5243 GB, free: 1.781 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3565, allocations: 4 kB / 0.5243 GB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.3568, allocations: 83.88 kB / 0.5243 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.145e-06/0.3568, allocations: 0 / 0.5243 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.17e-05/0.3569, allocations: 12 kB / 0.5243 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3569, allocations: 0 / 0.5243 GB, free: 1.684 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3569, allocations: 3.984 kB / 0.5244 GB, free: 1.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007477/0.3576, allocations: 0.5263 MB / 0.5249 GB, free: 1.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.871e-05/0.3577, allocations: 124.9 kB / 0.525 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.933e-05/0.3577, allocations: 8 kB / 0.525 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.358, allocations: 11.98 kB / 0.525 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.731e-05/0.358, allocations: 23.97 kB / 0.525 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.569e-05/0.3581, allocations: 8 kB / 0.525 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.3582, allocations: 190 kB / 0.5252 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3582, allocations: 0 / 0.5252 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003336/0.3585, allocations: 87.89 kB / 0.5253 GB, free: 0.6719 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (position.s,position.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 35 * 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 Backend phase and start with SimCode phase: time 0.001079/0.3596, allocations: 1.067 MB / 0.5263 GB, free: 15.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006494/0.3602, allocations: 259.9 kB / 0.5266 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3602, allocations: 0 / 0.5266 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002723/0.3605, allocations: 124.4 kB / 0.5267 GB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/0.3609, allocations: 32.5 kB / 0.5267 GB, free: 15.17 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0051/0.366, allocations: 3.156 MB / 0.5298 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005865/0.3666, allocations: 0.7835 MB / 0.5306 GB, free: 11.08 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002237/0.3668, allocations: 42.94 kB / 0.5306 GB, free: 11.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.367, allocations: 107.4 kB / 0.5307 GB, free: 10.93 MB / 398.1 MB Notification: Performance of SimCode: time 5.71e-07/0.367, allocations: 0 / 0.5307 GB, free: 10.93 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0327/0.3997, allocations: 5.798 MB / 0.5364 GB, free: 5.129 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.123/9.523, allocations: 17.7 kB / 0.5364 GB, free: 5.113 MB / 398.1 MB " [Timeout remaining time 650] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Force.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 12.644992364977952]