Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001898/0.001898, 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.001486/0.001486, allocations: 214 kB / 24.52 MB, free: 3.914 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.501/1.501, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2341/0.2341, allocations: 46.96 MB / 361.7 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Magnetic.FluxTubes.BasicComponents,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002011/0.002011, allocations: 59.91 kB / 0.4969 GB, free: 7.711 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3414, allocations: 66.04 MB / 0.5613 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005051/0.3464, allocations: 3.226 MB / 0.5645 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3481, allocations: 0.8002 MB / 0.5653 GB, free: 192 kB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002474/0.3483, allocations: 11.94 kB / 0.5653 GB, free: 180 kB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002149/0.3486, allocations: 75.23 kB / 0.5654 GB, free: 104 kB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003232/0.3489, allocations: 126.8 kB / 0.5655 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004067/0.3493, allocations: 131.8 kB / 0.5656 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006346/0.3499, allocations: 0.5219 MB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003167/0.3502, allocations: 178.3 kB / 0.5663 GB, free: 15.14 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002761/0.3505, allocations: 219.2 kB / 0.5665 GB, free: 14.93 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003227/0.3508, allocations: 242.9 kB / 0.5667 GB, free: 14.69 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.092e-05/0.3509, allocations: 52 kB / 0.5668 GB, free: 14.64 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.351, allocations: 48 kB / 0.5668 GB, free: 14.59 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.3511, allocations: 103.7 kB / 0.5669 GB, free: 14.49 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000232/0.3514, allocations: 211 kB / 0.5671 GB, free: 14.29 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007156/0.3521, allocations: 0.5602 MB / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.3521, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3521, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.3521, allocations: 0 / 0.5677 GB, free: 13.72 MB / 414.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.001601/0.3537, allocations: 0.7001 MB / 0.5684 GB, free: 12.99 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/0.3538, allocations: 8.031 kB / 0.5684 GB, free: 12.98 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.743e-05/0.3538, allocations: 17.12 kB / 0.5684 GB, free: 12.97 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000113/0.3539, allocations: 86.7 kB / 0.5685 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.354, allocations: 56.61 kB / 0.5685 GB, free: 12.82 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.3546, allocations: 263.7 kB / 0.5688 GB, free: 12.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.725e-05/0.3546, allocations: 37.38 kB / 0.5688 GB, free: 12.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.026e-05/0.3547, allocations: 44.38 kB / 0.5688 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001012/0.3557, allocations: 0.5025 MB / 0.5693 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.3557, allocations: 0 / 0.5693 GB, free: 11.92 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.712e-05/0.3558, allocations: 20 kB / 0.5694 GB, free: 11.9 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.349e-05/0.3558, allocations: 12 kB / 0.5694 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007765/0.3566, allocations: 332.1 kB / 0.5697 GB, free: 11.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002644/0.3592, allocations: 1.514 MB / 0.5712 GB, free: 9.945 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006196/0.3598, allocations: 221 kB / 0.5714 GB, free: 9.711 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003599/0.3602, allocations: 133.6 kB / 0.5715 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.3602, allocations: 0 / 0.5715 GB, free: 9.574 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.737e-05/0.3603, allocations: 38.56 kB / 0.5715 GB, free: 9.527 MB / 414.1 MB Notification: Performance of pre-optimization done (n=26): time 1.563e-06/0.3603, allocations: 0 / 0.5715 GB, free: 9.527 MB / 414.1 MB Notification: Performance of matching and sorting (n=34): time 0.003215/0.3635, allocations: 1.139 MB / 0.5727 GB, free: 8.328 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.6e-05/0.3636, allocations: 81.11 kB / 0.5727 GB, free: 8.23 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003576/0.3639, allocations: 261.9 kB / 0.573 GB, free: 7.965 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.107e-05/0.3639, allocations: 29.7 kB / 0.573 GB, free: 7.93 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000185/0.3641, allocations: 276.1 kB / 0.5733 GB, free: 7.656 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.3642, allocations: 123 kB / 0.5734 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3644, allocations: 82.03 kB / 0.5735 GB, free: 7.445 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001682/0.3645, allocations: 342.7 kB / 0.5738 GB, free: 7.102 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003108/0.3648, allocations: 112.8 kB / 0.5739 GB, free: 6.992 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003759/0.3652, allocations: 208.3 kB / 0.5741 GB, free: 6.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.3659, allocations: 341.3 kB / 0.5744 GB, free: 6.379 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3659, allocations: 0 / 0.5744 GB, free: 6.379 MB / 414.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009546/0.3669, allocations: 418.1 kB / 0.5748 GB, free: 5.961 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.169e-05/0.3669, allocations: 8 kB / 0.5748 GB, free: 5.953 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.3669, allocations: 4 kB / 0.5748 GB, free: 5.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001619/0.3671, allocations: 32.78 kB / 0.5749 GB, free: 5.914 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005028/0.3676, allocations: 119.9 kB / 0.575 GB, free: 5.797 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001343/0.3689, allocations: 1.342 MB / 0.5763 GB, free: 4.332 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002977/0.3692, allocations: 12 kB / 0.5763 GB, free: 4.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.339e-05/0.3692, allocations: 19.98 kB / 0.5763 GB, free: 4.301 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.0002361/0.3695, allocations: 171.5 kB / 0.5765 GB, free: 4.125 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.34e-05/0.3696, allocations: 31.81 kB / 0.5765 GB, free: 4.094 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.628e-05/0.3696, allocations: 38.11 kB / 0.5766 GB, free: 4.059 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.3697, allocations: 4 kB / 0.5766 GB, free: 4.055 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.3697, allocations: 8.062 kB / 0.5766 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.009e-06/0.3697, allocations: 0 / 0.5766 GB, free: 4.047 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001263/0.3709, allocations: 0.6508 MB / 0.5772 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.3709, allocations: 0 / 0.5772 GB, free: 3.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004648/0.3714, allocations: 91.88 kB / 0.5773 GB, free: 3.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001135/0.3715, allocations: 36.84 kB / 0.5773 GB, free: 3.211 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.3715, allocations: 4 kB / 0.5773 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001209/0.3727, allocations: 1.323 MB / 0.5786 GB, free: 1.77 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.3727, allocations: 4.031 kB / 0.5786 GB, free: 1.766 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.3739, allocations: 0.6017 MB / 0.5792 GB, free: 1.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.374, allocations: 47.83 kB / 0.5793 GB, free: 1.094 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.585e-05/0.3741, allocations: 11.98 kB / 0.5793 GB, free: 1.082 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000289/0.3744, allocations: 19.92 kB / 0.5793 GB, free: 1.062 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.068e-05/0.3744, allocations: 27.95 kB / 0.5793 GB, free: 1.035 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.3744, allocations: 8 kB / 0.5793 GB, free: 1.027 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002205/0.3747, allocations: 181.2 kB / 0.5795 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3747, allocations: 0 / 0.5795 GB, free: 0.8477 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000532/0.3752, allocations: 96 kB / 0.5796 GB, free: 0.7539 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.001558/0.3768, allocations: 1.151 MB / 0.5807 GB, free: 15.57 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0009805/0.3777, allocations: 390.9 kB / 0.5811 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3777, allocations: 0 / 0.5811 GB, free: 15.17 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004452/0.3782, allocations: 243.4 kB / 0.5813 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005501/0.3787, allocations: 52.47 kB / 0.5814 GB, free: 14.88 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006095/0.3848, allocations: 3.496 MB / 0.5848 GB, free: 11.2 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000266/0.3851, allocations: 207.8 kB / 0.585 GB, free: 10.97 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.3853, allocations: 34.95 kB / 0.585 GB, free: 10.94 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002102/0.3855, allocations: 143.4 kB / 0.5851 GB, free: 10.8 MB / 430.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3855, allocations: 0 / 0.5851 GB, free: 10.8 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03279/0.4183, allocations: 6.96 MB / 0.5919 GB, free: 4.027 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13, allocations: 10.02 kB / 0.592 GB, free: 4.02 MB / 430.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents_fmu --startTime=0 --stopTime=14 --stepSize=0.00300043 --timeout=50 --tolerance=1e-05 ModelicaTest_4_1_0_ModelicaTest_Magnetic_FluxTubes_BasicComponents.fmu > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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.263325634994544]