Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.001646/0.001646, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001861/0.001861, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.503/1.503, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 55.92 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1256, allocations: 53.34 MB / 426.3 MB, free: 4.773 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004768/0.1304, allocations: 2.848 MB / 429.2 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.1328, allocations: 1.304 MB / 430.5 MB, free: 0.5977 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.133, allocations: 3.938 kB / 430.5 MB, free: 0.5938 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003041/0.1333, allocations: 71.42 kB / 430.5 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005857/0.1339, allocations: 222.7 kB / 430.8 MB, free: 312 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003221/0.1342, allocations: 139.7 kB / 430.9 MB, free: 172 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2778/0.412, allocations: 453.2 kB / 431.3 MB, free: 7.727 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002706/0.4123, allocations: 65.23 kB / 431.4 MB, free: 7.719 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005/0.4128, allocations: 195.3 kB / 431.6 MB, free: 7.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.4131, allocations: 221.5 kB / 431.8 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.948e-05/0.4132, allocations: 40.72 kB / 431.9 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004306/0.4137, allocations: 168 kB / 432 MB, free: 7.68 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.422e-05/0.4137, allocations: 94.66 kB / 432.1 MB, free: 7.668 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.4139, allocations: 187.7 kB / 432.3 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006724/0.4146, allocations: 0.5116 MB / 432.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4146, allocations: 0 / 432.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4146, allocations: 4.219 kB / 432.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.736e-06/0.4146, allocations: 0 / 432.8 MB, free: 7.551 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.001608/0.4162, allocations: 0.7122 MB / 433.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.4163, allocations: 8.812 kB / 433.5 MB, free: 7.078 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.626e-05/0.4163, allocations: 62.73 kB / 433.6 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.4165, allocations: 47.16 kB / 433.6 MB, free: 7.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004773/0.417, allocations: 334.1 kB / 434 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.947e-05/0.4171, allocations: 49.78 kB / 434 MB, free: 6.762 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000169/0.4173, allocations: 46.69 kB / 434.1 MB, free: 6.754 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006125/0.4179, allocations: 317.4 kB / 434.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/0.4179, allocations: 4.594 kB / 434.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.317e-05/0.4179, allocations: 13.97 kB / 434.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.103e-05/0.4179, allocations: 6.656 kB / 434.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.4187, allocations: 297.3 kB / 434.7 MB, free: 6.691 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.4206, allocations: 1.166 MB / 435.8 MB, free: 6.117 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006798/0.4213, allocations: 280.1 kB / 436.1 MB, free: 6.07 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003609/0.4216, allocations: 155 kB / 436.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.4216, allocations: 5.797 kB / 436.3 MB, free: 6.055 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.4217, allocations: 41.72 kB / 436.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.4217, allocations: 2.906 kB / 436.3 MB, free: 6.016 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.01008/0.4318, allocations: 2.412 MB / 438.7 MB, free: 5.352 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.914e-05/0.4318, allocations: 86.03 kB / 438.8 MB, free: 5.254 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004165/0.4322, allocations: 294.2 kB / 439.1 MB, free: 5.082 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.4323, allocations: 32.55 kB / 439.1 MB, free: 5.047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.4324, allocations: 172.1 kB / 439.3 MB, free: 4.898 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.4325, allocations: 152.5 kB / 439.5 MB, free: 4.781 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001639/0.4327, allocations: 79.09 kB / 439.5 MB, free: 4.738 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.4328, allocations: 347.4 kB / 439.9 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004468/0.4332, allocations: 166.1 kB / 440 MB, free: 4.348 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004723/0.4337, allocations: 223.6 kB / 440.2 MB, free: 4.234 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008671/0.4345, allocations: 409.1 kB / 440.6 MB, free: 4.027 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4345, allocations: 0.6875 kB / 440.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001278/0.4358, allocations: 487.6 kB / 441.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.819e-05/0.4359, allocations: 10.5 kB / 441.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4359, allocations: 5.219 kB / 441.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.747e-05/0.4359, allocations: 5.438 kB / 441.1 MB, free: 3.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.4365, allocations: 113.7 kB / 441.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.412e-05/0.4366, allocations: 5.234 kB / 441.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/0.437, allocations: 30.8 kB / 441.3 MB, free: 3.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.549e-05/0.437, allocations: 22.03 kB / 441.3 MB, free: 3.812 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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.0001812/0.4372, allocations: 161.5 kB / 441.5 MB, free: 3.668 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.4373, allocations: 30.97 kB / 441.5 MB, free: 3.652 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001986/0.4393, allocations: 0.6476 MB / 442.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.4393, allocations: 4.531 kB / 442.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4393, allocations: 1.75 kB / 442.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/0.4393, allocations: 3.25 kB / 442.2 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003341/0.4427, allocations: 1.27 MB / 443.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.01e-06/0.4427, allocations: 1.281 kB / 443.4 MB, free: 2.758 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004756/0.4431, allocations: 92.77 kB / 443.5 MB, free: 2.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001635/0.4448, allocations: 275.8 kB / 443.8 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.4448, allocations: 11.86 kB / 443.8 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00396/0.4488, allocations: 2.448 MB / 446.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4488, allocations: 0 / 446.2 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002409/0.4512, allocations: 1.012 MB / 447.3 MB, free: 260 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.4514, allocations: 152 kB / 447.4 MB, free: 120 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.234e-05/0.4514, allocations: 7.5 kB / 447.4 MB, free: 116 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.4519, allocations: 29.77 kB / 447.4 MB, free: 108 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.452, allocations: 32.31 kB / 447.5 MB, free: 104 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.868e-05/0.452, allocations: 19.03 kB / 447.5 MB, free: 100 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002938/0.4523, allocations: 213.4 kB / 447.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4523, allocations: 0 / 447.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006862/0.453, allocations: 122.3 kB / 447.8 MB, free: 15.95 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (winding.i,core.Hstat,core.B,core.MagRel) * Number of discrete variables: 1 (core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,8)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003138/0.4561, allocations: 1.59 MB / 449.4 MB, free: 14.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00117/0.4573, allocations: 407.2 kB / 449.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.4573, allocations: 5.094 kB / 449.8 MB, free: 14.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008442/0.4582, allocations: 367 kB / 450.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.4587, allocations: 36.73 kB / 450.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006856/0.4656, allocations: 3.866 MB / 454.1 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005544/0.4661, allocations: 0.7949 MB / 454.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.4664, allocations: 44.8 kB / 454.9 MB, free: 11.42 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002943/0.4666, allocations: 120.6 kB / 455 MB, free: 11.34 MB / 366.1 MB Notification: Performance of SimCode: time 1.262e-06/0.4667, allocations: 0 / 455 MB, free: 11.34 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0453/0.512, allocations: 9.765 MB / 464.8 MB, free: 7.348 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.25/12.76, allocations: 1.312 kB / 464.8 MB, free: 7.348 MB / 366.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_4_1_0_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.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.523209562059492]