Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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.001326/0.001326, allocations: 119.9 kB / 17.13 MB, free: 5.941 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.001496/0.001496, allocations: 196.7 kB / 20.07 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.634/1.634, allocations: 207.6 MB / 230.5 MB, free: 4.074 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.3916/0.3916, allocations: 44.23 MB / 326.5 MB, free: 6.828 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.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents",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.002154/0.002154, allocations: 71.88 kB / 462.2 MB, free: 0.9531 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3856, allocations: 61 MB / 0.5109 GB, free: 13.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.BasicComponents): time 0.003952/0.3895, allocations: 3.446 MB / 0.5143 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001271/0.3908, allocations: 0.8409 MB / 0.5151 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.391, allocations: 8.25 kB / 0.5151 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.3912, allocations: 75.47 kB / 0.5152 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.3914, allocations: 132.6 kB / 0.5153 GB, free: 9.664 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003258/0.3918, allocations: 126.8 kB / 0.5154 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004376/0.3922, allocations: 0.5124 MB / 0.5159 GB, free: 9.246 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002916/0.3925, allocations: 188.9 kB / 0.5161 GB, free: 9.113 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002491/0.3927, allocations: 209.5 kB / 0.5163 GB, free: 8.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000235/0.393, allocations: 230.4 kB / 0.5165 GB, free: 8.828 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.385e-05/0.3931, allocations: 52.78 kB / 0.5166 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.724e-05/0.3931, allocations: 53.47 kB / 0.5166 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.775e-05/0.3932, allocations: 104.1 kB / 0.5167 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.3934, allocations: 256.9 kB / 0.5169 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004853/0.3939, allocations: 0.5565 MB / 0.5175 GB, free: 8.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.417e-06/0.3939, allocations: 0 / 0.5175 GB, free: 8.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3939, allocations: 0 / 0.5175 GB, free: 8.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.737e-06/0.3939, allocations: 0 / 0.5175 GB, free: 8.137 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001152/0.395, allocations: 0.7745 MB / 0.5182 GB, free: 7.395 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.3951, allocations: 19.83 kB / 0.5183 GB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.568e-05/0.3951, allocations: 86.7 kB / 0.5184 GB, free: 7.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.567e-05/0.3952, allocations: 48.66 kB / 0.5184 GB, free: 7.234 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004232/0.3956, allocations: 325.5 kB / 0.5187 GB, free: 6.875 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.055e-05/0.3957, allocations: 37.38 kB / 0.5187 GB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.549e-05/0.3957, allocations: 40.38 kB / 0.5188 GB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.3964, allocations: 471.1 kB / 0.5192 GB, free: 6.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.3964, allocations: 3.938 kB / 0.5192 GB, free: 6.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.488e-05/0.3964, allocations: 24 kB / 0.5193 GB, free: 6.301 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.001e-05/0.3964, allocations: 12 kB / 0.5193 GB, free: 6.289 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005659/0.397, allocations: 315.8 kB / 0.5196 GB, free: 5.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3988, allocations: 1.682 MB / 0.5212 GB, free: 4.184 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000456/0.3993, allocations: 229 kB / 0.5214 GB, free: 3.941 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000262/0.3996, allocations: 129.7 kB / 0.5216 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.858e-05/0.3996, allocations: 0 / 0.5216 GB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.67e-05/0.3996, allocations: 34.56 kB / 0.5216 GB, free: 3.766 MB / 382.1 MB Notification: Performance of pre-optimization done (n=26): time 1.322e-06/0.3996, allocations: 0 / 0.5216 GB, free: 3.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=34): time 0.00246/0.4021, allocations: 1.36 MB / 0.5229 GB, free: 2.285 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.4021, allocations: 81.11 kB / 0.523 GB, free: 2.188 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002001/0.4023, allocations: 254.6 kB / 0.5232 GB, free: 1.93 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.4023, allocations: 33.7 kB / 0.5233 GB, free: 1.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.704e-05/0.4024, allocations: 264.1 kB / 0.5235 GB, free: 1.625 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.4025, allocations: 126.9 kB / 0.5236 GB, free: 1.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.093e-05/0.4026, allocations: 78.08 kB / 0.5237 GB, free: 1.418 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.653e-05/0.4026, allocations: 342.8 kB / 0.524 GB, free: 1.074 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/0.4029, allocations: 116.8 kB / 0.5242 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002547/0.4031, allocations: 212.3 kB / 0.5244 GB, free: 0.7109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004851/0.4036, allocations: 342.6 kB / 0.5247 GB, free: 344 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4036, allocations: 3.984 kB / 0.5247 GB, free: 340 kB / 382.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007347/0.4043, allocations: 418.1 kB / 0.5251 GB, free: 15.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.4044, allocations: 11.98 kB / 0.5251 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.4044, allocations: 0 / 0.5251 GB, free: 15.9 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001472/0.4045, allocations: 36.78 kB / 0.5251 GB, free: 15.86 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004783/0.405, allocations: 119.8 kB / 0.5252 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001413/0.4064, allocations: 1.438 MB / 0.5267 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002641/0.4067, allocations: 27.98 kB / 0.5267 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.8e-05/0.4067, allocations: 16 kB / 0.5267 GB, free: 14.11 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002375/0.4069, allocations: 166 kB / 0.5269 GB, free: 13.94 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.389e-05/0.407, allocations: 39.73 kB / 0.5269 GB, free: 13.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.184e-05/0.4071, allocations: 38.17 kB / 0.5269 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.4071, allocations: 4 kB / 0.5269 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.4071, allocations: 0 / 0.5269 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.4071, allocations: 7.984 kB / 0.5269 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001356/0.4085, allocations: 0.7032 MB / 0.5276 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.4085, allocations: 0 / 0.5276 GB, free: 13.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.4089, allocations: 95.88 kB / 0.5277 GB, free: 12.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001103/0.409, allocations: 32.84 kB / 0.5277 GB, free: 12.96 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.409, allocations: 11.98 kB / 0.5278 GB, free: 12.95 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001247/0.4103, allocations: 1.426 MB / 0.5292 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4103, allocations: 0 / 0.5292 GB, free: 11.38 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.4114, allocations: 0.609 MB / 0.5297 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001705/0.4115, allocations: 128.9 kB / 0.5299 GB, free: 10.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.075e-05/0.4116, allocations: 12 kB / 0.5299 GB, free: 10.59 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002666/0.4118, allocations: 20.16 kB / 0.5299 GB, free: 10.57 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.162e-05/0.4119, allocations: 27.97 kB / 0.5299 GB, free: 10.55 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.4119, allocations: 8 kB / 0.5299 GB, free: 10.54 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002244/0.4122, allocations: 189.9 kB / 0.5301 GB, free: 10.36 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4122, allocations: 0 / 0.5301 GB, free: 10.36 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005185/0.4127, allocations: 92 kB / 0.5302 GB, free: 10.27 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001493/0.4142, allocations: 1.143 MB / 0.5313 GB, free: 9.086 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00095/0.4151, allocations: 386.4 kB / 0.5317 GB, free: 8.695 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.4151, allocations: 4 kB / 0.5317 GB, free: 8.691 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004455/0.4156, allocations: 243.3 kB / 0.5319 GB, free: 8.441 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.4161, allocations: 42.44 kB / 0.532 GB, free: 8.398 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/0.4219, allocations: 3.484 MB / 0.5354 GB, free: 4.727 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.4224, allocations: 0.8151 MB / 0.5362 GB, free: 3.887 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001852/0.4226, allocations: 34.97 kB / 0.5362 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002128/0.4228, allocations: 139.4 kB / 0.5363 GB, free: 3.715 MB / 398.1 MB Notification: Performance of SimCode: time 2.415e-06/0.4228, allocations: 0 / 0.5363 GB, free: 3.715 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04552/0.4684, allocations: 6.5 MB / 0.5427 GB, free: 13.2 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.23, allocations: 4.875 kB / 0.5427 GB, free: 13.2 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_BasicComponents.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.BasicComponents.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: 14.470500157214701]