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.001295/0.001295, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.00148/0.00148, allocations: 211.7 kB / 23.73 MB, free: 4.387 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.551/1.551, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.2323/0.2323, allocations: 44.93 MB / 358.8 MB, free: 6.027 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="me",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.002785/0.002785, allocations: 70.38 kB / 0.493 GB, free: 10.52 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3961, allocations: 65.46 MB / 0.557 GB, free: 7.34 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.006056/0.4022, allocations: 3.242 MB / 0.5601 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002049/0.4042, allocations: 0.7963 MB / 0.5609 GB, free: 3.48 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004372/0.4047, allocations: 8 kB / 0.5609 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003246/0.405, allocations: 79.22 kB / 0.561 GB, free: 3.395 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000534/0.4055, allocations: 126.8 kB / 0.5611 GB, free: 3.27 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005589/0.4061, allocations: 143.7 kB / 0.5612 GB, free: 3.129 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008423/0.4069, allocations: 0.5141 MB / 0.5617 GB, free: 2.609 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003912/0.4073, allocations: 170.3 kB / 0.5619 GB, free: 2.441 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004558/0.4078, allocations: 211.3 kB / 0.5621 GB, free: 2.234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004285/0.4082, allocations: 198.9 kB / 0.5623 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4083, allocations: 52 kB / 0.5623 GB, free: 1.988 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001342/0.4085, allocations: 51.94 kB / 0.5624 GB, free: 1.938 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.4086, allocations: 111.7 kB / 0.5625 GB, free: 1.828 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002885/0.4089, allocations: 215 kB / 0.5627 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007596/0.4096, allocations: 0.5602 MB / 0.5632 GB, free: 1.055 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4096, allocations: 3.938 kB / 0.5633 GB, free: 1.051 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4096, allocations: 4 kB / 0.5633 GB, free: 1.047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.794e-05/0.4097, allocations: 0 / 0.5633 GB, free: 1.047 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.001663/0.4113, allocations: 0.6939 MB / 0.5639 GB, free: 332 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.4114, allocations: 8.031 kB / 0.5639 GB, free: 324 kB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.4115, allocations: 94.7 kB / 0.564 GB, free: 220 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/0.4116, allocations: 52.61 kB / 0.5641 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006133/0.4122, allocations: 263.7 kB / 0.5643 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.4123, allocations: 37.38 kB / 0.5644 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.722e-05/0.4124, allocations: 48.38 kB / 0.5644 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009954/0.4134, allocations: 0.5026 MB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.007e-05/0.4134, allocations: 3.938 kB / 0.5649 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.4134, allocations: 16 kB / 0.5649 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.791e-05/0.4135, allocations: 12 kB / 0.5649 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007746/0.4142, allocations: 320.2 kB / 0.5652 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002897/0.4171, allocations: 1.514 MB / 0.5667 GB, free: 13.3 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000653/0.4178, allocations: 229 kB / 0.5669 GB, free: 13.06 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003496/0.4181, allocations: 129.7 kB / 0.5671 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.4182, allocations: 0 / 0.5671 GB, free: 12.93 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.4182, allocations: 38.81 kB / 0.5671 GB, free: 12.88 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.182e-06/0.4182, allocations: 0 / 0.5671 GB, free: 12.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003281/0.4215, allocations: 1.139 MB / 0.5682 GB, free: 11.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.923e-05/0.4215, allocations: 81.11 kB / 0.5683 GB, free: 11.58 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003245/0.4219, allocations: 261.8 kB / 0.5685 GB, free: 11.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.66e-05/0.4219, allocations: 33.7 kB / 0.5686 GB, free: 11.28 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002126/0.4221, allocations: 268.1 kB / 0.5688 GB, free: 11.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001285/0.4222, allocations: 130.9 kB / 0.569 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.4224, allocations: 70.14 kB / 0.569 GB, free: 10.81 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002074/0.4226, allocations: 342.7 kB / 0.5693 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002995/0.4229, allocations: 116.8 kB / 0.5695 GB, free: 10.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.4233, allocations: 212.3 kB / 0.5697 GB, free: 10.1 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007088/0.424, allocations: 341.7 kB / 0.57 GB, free: 9.73 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.424, allocations: 0 / 0.57 GB, free: 9.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009553/0.4249, allocations: 417.9 kB / 0.5704 GB, free: 9.312 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.303e-05/0.4249, allocations: 8 kB / 0.5704 GB, free: 9.305 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.425, allocations: 7.938 kB / 0.5704 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001738/0.4251, allocations: 37.16 kB / 0.5704 GB, free: 9.258 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004955/0.4256, allocations: 123.8 kB / 0.5706 GB, free: 9.137 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.4271, allocations: 1.334 MB / 0.5719 GB, free: 7.676 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.4273, allocations: 19.98 kB / 0.5719 GB, free: 7.656 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.001e-05/0.4274, allocations: 20.06 kB / 0.5719 GB, free: 7.637 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.4276, allocations: 165.7 kB / 0.5721 GB, free: 7.465 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.859e-05/0.4277, allocations: 31.81 kB / 0.5721 GB, free: 7.434 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.4278, allocations: 38.11 kB / 0.5721 GB, free: 7.398 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.4278, allocations: 7.938 kB / 0.5721 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.4278, allocations: 0 / 0.5721 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.4278, allocations: 0 / 0.5721 GB, free: 7.391 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001301/0.4291, allocations: 0.6548 MB / 0.5728 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4291, allocations: 0 / 0.5728 GB, free: 6.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.4295, allocations: 91.88 kB / 0.5729 GB, free: 6.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001117/0.4296, allocations: 32.78 kB / 0.5729 GB, free: 6.555 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.4297, allocations: 4 kB / 0.5729 GB, free: 6.551 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001203/0.4309, allocations: 1.327 MB / 0.5742 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4309, allocations: 0 / 0.5742 GB, free: 5.109 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001146/0.432, allocations: 0.6037 MB / 0.5748 GB, free: 4.484 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001495/0.4322, allocations: 47.83 kB / 0.5748 GB, free: 4.438 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.4322, allocations: 8 kB / 0.5748 GB, free: 4.43 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.4325, allocations: 31.98 kB / 0.5749 GB, free: 4.398 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.826e-05/0.4326, allocations: 23.95 kB / 0.5749 GB, free: 4.375 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.698e-05/0.4326, allocations: 15.98 kB / 0.5749 GB, free: 4.359 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000227/0.4328, allocations: 181.2 kB / 0.5751 GB, free: 4.18 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4328, allocations: 0 / 0.5751 GB, free: 4.18 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0005243/0.4333, allocations: 95.94 kB / 0.5752 GB, free: 4.086 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.001516/0.4349, allocations: 1.139 MB / 0.5763 GB, free: 2.91 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009787/0.4358, allocations: 408.4 kB / 0.5767 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4358, allocations: 0 / 0.5767 GB, free: 2.5 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004428/0.4363, allocations: 238.5 kB / 0.5769 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005133/0.4368, allocations: 44.41 kB / 0.5769 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005797/0.4426, allocations: 3.491 MB / 0.5803 GB, free: 14.54 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002635/0.4429, allocations: 211.8 kB / 0.5805 GB, free: 14.31 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001943/0.4431, allocations: 34.95 kB / 0.5806 GB, free: 14.27 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.4433, allocations: 135.4 kB / 0.5807 GB, free: 14.14 MB / 430.1 MB Notification: Performance of SimCode: time 7.62e-07/0.4433, allocations: 0 / 0.5807 GB, free: 14.14 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04471/0.488, allocations: 7.201 MB / 0.5877 GB, free: 7.121 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.79/12.27, allocations: 6.906 kB / 0.5877 GB, free: 7.117 MB / 430.1 MB " [Timeout remaining time 648] (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: 15.498157575726509]