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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001991/0.001991, allocations: 112.8 kB / 17.13 MB, free: 5.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00252/0.00252, allocations: 191.7 kB / 20.08 MB, free: 3.012 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.716/1.716, allocations: 207.6 MB / 230.5 MB, free: 4.031 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.3924/0.3924, allocations: 44.23 MB / 326.5 MB, free: 6.836 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.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.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Force,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Force",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003007/0.003007, allocations: 67.88 kB / 462.1 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3874, allocations: 61 MB / 0.5109 GB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Shapes.Force): time 0.003764/0.3912, allocations: 2.996 MB / 0.5138 GB, free: 10.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00129/0.3925, allocations: 0.774 MB / 0.5146 GB, free: 10.21 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001933/0.3927, allocations: 8.719 kB / 0.5146 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001851/0.3928, allocations: 61.47 kB / 0.5146 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002058/0.393, allocations: 97.05 kB / 0.5147 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002924/0.3933, allocations: 115.2 kB / 0.5148 GB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004794/0.3938, allocations: 477.6 kB / 0.5153 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000259/0.3941, allocations: 109.2 kB / 0.5154 GB, free: 9.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002403/0.3943, allocations: 190 kB / 0.5156 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.3945, allocations: 201.8 kB / 0.5158 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.423e-05/0.3946, allocations: 38.97 kB / 0.5158 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.619e-05/0.3947, allocations: 38.12 kB / 0.5158 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.984e-05/0.3947, allocations: 97.83 kB / 0.5159 GB, free: 9.258 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3949, allocations: 197.8 kB / 0.5161 GB, free: 9.121 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003889/0.3952, allocations: 479.9 kB / 0.5166 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.3952, allocations: 0 / 0.5166 GB, free: 8.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3952, allocations: 4 kB / 0.5166 GB, free: 8.762 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.816e-06/0.3953, allocations: 0 / 0.5166 GB, free: 8.762 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.00122/0.3965, allocations: 0.7088 MB / 0.5173 GB, free: 8.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.3965, allocations: 13.48 kB / 0.5173 GB, free: 8.156 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.273e-05/0.3966, allocations: 75.09 kB / 0.5174 GB, free: 8.086 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.3967, allocations: 45.28 kB / 0.5174 GB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004792/0.3972, allocations: 290.1 kB / 0.5177 GB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.29e-05/0.3972, allocations: 28.5 kB / 0.5177 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.015e-05/0.3973, allocations: 37.12 kB / 0.5177 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006662/0.398, allocations: 354.1 kB / 0.5181 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.117e-05/0.398, allocations: 0 / 0.5181 GB, free: 7.512 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.321e-05/0.398, allocations: 16 kB / 0.5181 GB, free: 7.496 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.398, allocations: 11.94 kB / 0.5181 GB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005125/0.3985, allocations: 307.8 kB / 0.5184 GB, free: 7.188 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001778/0.4003, allocations: 1.337 MB / 0.5197 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.4007, allocations: 256.9 kB / 0.52 GB, free: 5.492 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002302/0.401, allocations: 141.4 kB / 0.5201 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.888e-05/0.401, allocations: 4.281 kB / 0.5201 GB, free: 5.348 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.788e-05/0.401, allocations: 34.78 kB / 0.5201 GB, free: 5.305 MB / 382.1 MB Notification: Performance of pre-optimization done (n=34): time 1.864e-06/0.401, allocations: 0 / 0.5201 GB, free: 5.305 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.0007238/0.4017, allocations: 382.6 kB / 0.5205 GB, free: 4.926 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.4018, allocations: 55.41 kB / 0.5205 GB, free: 4.859 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002107/0.402, allocations: 274.5 kB / 0.5208 GB, free: 4.582 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.402, allocations: 29.7 kB / 0.5208 GB, free: 4.547 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.668e-05/0.4021, allocations: 208.4 kB / 0.521 GB, free: 4.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.4021, allocations: 123 kB / 0.5212 GB, free: 4.219 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.903e-05/0.4022, allocations: 70.12 kB / 0.5212 GB, free: 4.145 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.64e-05/0.4023, allocations: 338.8 kB / 0.5215 GB, free: 3.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.4025, allocations: 104.8 kB / 0.5216 GB, free: 3.703 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002251/0.4027, allocations: 179.4 kB / 0.5218 GB, free: 3.508 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.4031, allocations: 284.7 kB / 0.5221 GB, free: 3.207 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.4031, allocations: 3.938 kB / 0.5221 GB, free: 3.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0005338/0.4036, allocations: 374.3 kB / 0.5224 GB, free: 2.832 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.4037, allocations: 4 kB / 0.5225 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.4037, allocations: 8 kB / 0.5225 GB, free: 2.82 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4037, allocations: 7.984 kB / 0.5225 GB, free: 2.812 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.4041, allocations: 103.8 kB / 0.5226 GB, free: 2.711 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.4041, allocations: 7.984 kB / 0.5226 GB, free: 2.703 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002514/0.4044, allocations: 43.89 kB / 0.5226 GB, free: 2.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.4044, allocations: 15.98 kB / 0.5226 GB, free: 2.645 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.0001175/0.4045, allocations: 153.7 kB / 0.5228 GB, free: 2.484 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.4046, allocations: 27.81 kB / 0.5228 GB, free: 2.457 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005534/0.4051, allocations: 328.2 kB / 0.5231 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.4051, allocations: 4 kB / 0.5231 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.4052, allocations: 0 / 0.5231 GB, free: 2.125 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.4052, allocations: 7.984 kB / 0.5231 GB, free: 2.117 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003789/0.4055, allocations: 401.2 kB / 0.5235 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4055, allocations: 0 / 0.5235 GB, free: 1.676 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003809/0.4059, allocations: 87.88 kB / 0.5236 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.4059, allocations: 0 / 0.5236 GB, free: 1.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.4059, allocations: 8 kB / 0.5236 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.4059, allocations: 0 / 0.5236 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.4059, allocations: 0 / 0.5236 GB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006955/0.4066, allocations: 0.5185 MB / 0.5241 GB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001009/0.4067, allocations: 128.8 kB / 0.5242 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.274e-05/0.4068, allocations: 15.94 kB / 0.5242 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002078/0.407, allocations: 8 kB / 0.5243 GB, free: 0.8789 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.4071, allocations: 15.97 kB / 0.5243 GB, free: 0.8633 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.645e-05/0.4071, allocations: 15.98 kB / 0.5243 GB, free: 0.8477 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00014/0.4072, allocations: 186 kB / 0.5245 GB, free: 0.6641 MB / 382.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4072, allocations: 4 kB / 0.5245 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000339/0.4076, allocations: 95.88 kB / 0.5246 GB, free: 0.5664 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.001094/0.4086, allocations: 1.059 MB / 0.5256 GB, free: 15.48 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005996/0.4092, allocations: 263.6 kB / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4092, allocations: 0 / 0.5258 GB, free: 15.22 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002559/0.4095, allocations: 120.4 kB / 0.526 GB, free: 15.11 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003614/0.4099, allocations: 32.55 kB / 0.526 GB, free: 15.07 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.4147, allocations: 3.156 MB / 0.5291 GB, free: 11.78 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.4152, allocations: 0.7874 MB / 0.5298 GB, free: 10.97 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001857/0.4154, allocations: 30.95 kB / 0.5299 GB, free: 10.94 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002469/0.4156, allocations: 115.4 kB / 0.53 GB, free: 10.83 MB / 398.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4156, allocations: 0 / 0.53 GB, free: 10.83 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.4481, allocations: 5.765 MB / 0.5356 GB, free: 5.059 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.884/9.332, allocations: 4.938 kB / 0.5356 GB, free: 5.055 MB / 398.1 MB " [Timeout remaining time 651] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/Shapes/Force/Force.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.532051373738796]