Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001745/0.001745, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.002125/0.002125, allocations: 218.7 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.527/1.527, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2221/0.2221, allocations: 44.95 MB / 359.6 MB, free: 6.094 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.00207/0.00207, allocations: 63.91 kB / 0.4938 GB, free: 10.58 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 65.47 MB / 0.5577 GB, free: 7.363 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005531/0.3691, allocations: 3.223 MB / 0.5609 GB, free: 4.332 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.3711, allocations: 0.804 MB / 0.5617 GB, free: 3.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003538/0.3715, allocations: 8 kB / 0.5617 GB, free: 3.516 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002761/0.3717, allocations: 75.23 kB / 0.5617 GB, free: 3.441 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003722/0.3721, allocations: 126.8 kB / 0.5619 GB, free: 3.316 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004716/0.3726, allocations: 139.7 kB / 0.562 GB, free: 3.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006939/0.3733, allocations: 0.518 MB / 0.5625 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003272/0.3736, allocations: 182.3 kB / 0.5627 GB, free: 2.477 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002671/0.3739, allocations: 211.3 kB / 0.5629 GB, free: 2.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.3742, allocations: 242.9 kB / 0.5631 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 7.573e-05/0.3742, allocations: 52 kB / 0.5631 GB, free: 1.98 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.307e-05/0.3743, allocations: 48 kB / 0.5632 GB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.3744, allocations: 107.6 kB / 0.5633 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002102/0.3746, allocations: 211.1 kB / 0.5635 GB, free: 1.621 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006737/0.3753, allocations: 0.5641 MB / 0.564 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3753, allocations: 0 / 0.564 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.3753, allocations: 0 / 0.564 GB, free: 1.055 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.3753, allocations: 0 / 0.564 GB, free: 1.055 MB / 398.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.001636/0.377, allocations: 0.7001 MB / 0.5647 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.255e-05/0.3771, allocations: 8.031 kB / 0.5647 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.171e-05/0.3771, allocations: 17.17 kB / 0.5648 GB, free: 308 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001131/0.3772, allocations: 82.72 kB / 0.5648 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.3773, allocations: 52.61 kB / 0.5649 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006882/0.378, allocations: 263.8 kB / 0.5651 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.034e-05/0.3781, allocations: 37.38 kB / 0.5652 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.79e-05/0.3782, allocations: 52.38 kB / 0.5652 GB, free: 15.78 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.3792, allocations: 0.5063 MB / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.982e-05/0.3792, allocations: 0 / 0.5657 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.3793, allocations: 20 kB / 0.5657 GB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.319e-05/0.3793, allocations: 19.97 kB / 0.5658 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008059/0.3801, allocations: 324.1 kB / 0.5661 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002775/0.3829, allocations: 1.51 MB / 0.5675 GB, free: 13.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006514/0.3835, allocations: 229 kB / 0.5678 GB, free: 13.03 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003531/0.3839, allocations: 121.9 kB / 0.5679 GB, free: 12.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.3839, allocations: 3.938 kB / 0.5679 GB, free: 12.9 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.706e-05/0.3839, allocations: 38.81 kB / 0.5679 GB, free: 12.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 2.134e-06/0.3839, allocations: 4 kB / 0.5679 GB, free: 12.85 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003348/0.3873, allocations: 1.134 MB / 0.569 GB, free: 11.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.523e-05/0.3874, allocations: 81.11 kB / 0.5691 GB, free: 11.56 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000354/0.3877, allocations: 261.9 kB / 0.5694 GB, free: 11.3 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.371e-05/0.3877, allocations: 33.64 kB / 0.5694 GB, free: 11.26 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.388, allocations: 264.1 kB / 0.5696 GB, free: 11 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3881, allocations: 130.8 kB / 0.5698 GB, free: 10.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/0.3882, allocations: 82.08 kB / 0.5698 GB, free: 10.78 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001966/0.3884, allocations: 342.7 kB / 0.5702 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.3888, allocations: 116.8 kB / 0.5703 GB, free: 10.32 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003779/0.3891, allocations: 204.3 kB / 0.5705 GB, free: 10.08 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006973/0.3898, allocations: 336.7 kB / 0.5708 GB, free: 9.711 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3898, allocations: 0 / 0.5708 GB, free: 9.711 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001034/0.3909, allocations: 417.8 kB / 0.5712 GB, free: 9.293 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/0.3909, allocations: 8 kB / 0.5712 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.3909, allocations: 4 kB / 0.5712 GB, free: 9.281 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002094/0.3911, allocations: 37.16 kB / 0.5712 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005335/0.3917, allocations: 123.8 kB / 0.5714 GB, free: 9.121 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001378/0.393, allocations: 1.342 MB / 0.5727 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.3933, allocations: 15.98 kB / 0.5727 GB, free: 7.641 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.999e-05/0.3934, allocations: 16 kB / 0.5727 GB, free: 7.625 MB / 414.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.0002459/0.3936, allocations: 177.6 kB / 0.5729 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.471e-05/0.3937, allocations: 35.81 kB / 0.5729 GB, free: 7.406 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.477e-05/0.3938, allocations: 34.11 kB / 0.5729 GB, free: 7.375 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.3938, allocations: 4 kB / 0.5729 GB, free: 7.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.3938, allocations: 4 kB / 0.5729 GB, free: 7.367 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.853e-06/0.3938, allocations: 3.984 kB / 0.5729 GB, free: 7.363 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001253/0.3951, allocations: 0.6405 MB / 0.5736 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.3951, allocations: 0 / 0.5736 GB, free: 6.664 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004672/0.3955, allocations: 91.88 kB / 0.5737 GB, free: 6.574 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001166/0.3956, allocations: 32.78 kB / 0.5737 GB, free: 6.539 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.3957, allocations: 7.984 kB / 0.5737 GB, free: 6.531 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/0.397, allocations: 1.315 MB / 0.575 GB, free: 5.102 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.397, allocations: 4.031 kB / 0.575 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.3981, allocations: 0.6077 MB / 0.5756 GB, free: 4.469 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001394/0.3983, allocations: 55.81 kB / 0.5756 GB, free: 4.414 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.559e-05/0.3983, allocations: 8 kB / 0.5756 GB, free: 4.406 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002915/0.3986, allocations: 23.98 kB / 0.5757 GB, free: 4.383 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.361e-05/0.3987, allocations: 31.89 kB / 0.5757 GB, free: 4.352 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.3987, allocations: 8 kB / 0.5757 GB, free: 4.344 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00023/0.3989, allocations: 185.2 kB / 0.5759 GB, free: 4.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3989, allocations: 0 / 0.5759 GB, free: 4.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005279/0.3995, allocations: 95.94 kB / 0.576 GB, free: 4.066 MB / 414.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.001585/0.401, allocations: 1.155 MB / 0.5771 GB, free: 2.875 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009677/0.402, allocations: 388.1 kB / 0.5775 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.402, allocations: 0 / 0.5775 GB, free: 2.484 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.4024, allocations: 246.4 kB / 0.5777 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.403, allocations: 39.75 kB / 0.5777 GB, free: 2.195 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005616/0.4086, allocations: 3.504 MB / 0.5812 GB, free: 14.51 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002289/0.4089, allocations: 203.8 kB / 0.5814 GB, free: 14.29 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001678/0.409, allocations: 34.95 kB / 0.5814 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000213/0.4093, allocations: 139.4 kB / 0.5815 GB, free: 14.12 MB / 430.1 MB Notification: Performance of SimCode: time 6.31e-07/0.4093, allocations: 0 / 0.5815 GB, free: 14.12 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03366/0.4429, allocations: 6.971 MB / 0.5883 GB, free: 7.348 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.43/12.87, allocations: 4 kB / 0.5883 GB, free: 7.344 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.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: 16.153086063917726]