Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 114 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002195/0.002195, allocations: 214 kB / 23.74 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.464/1.464, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002001/0.002001, allocations: 67.89 kB / 377.8 MB, free: 3.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2842/0.2862, allocations: 53.41 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00535/0.2915, allocations: 2.866 MB / 434.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002673/0.2942, allocations: 1.308 MB / 435.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003369/0.2945, allocations: 4 kB / 435.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003828/0.2949, allocations: 71.36 kB / 435.4 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008451/0.2957, allocations: 226.8 kB / 435.7 MB, free: 2.199 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.2962, allocations: 139.7 kB / 435.8 MB, free: 2.062 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007162/0.2969, allocations: 463.1 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001953/0.2971, allocations: 64.27 kB / 436.3 MB, free: 1.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004623/0.2975, allocations: 191.4 kB / 436.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004541/0.298, allocations: 227.1 kB / 436.7 MB, free: 1.137 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.2981, allocations: 40 kB / 436.8 MB, free: 1.098 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003989/0.2985, allocations: 167.9 kB / 436.9 MB, free: 0.9336 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001165/0.2986, allocations: 95.66 kB / 437 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002564/0.2989, allocations: 191.1 kB / 437.2 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.2997, allocations: 0.5107 MB / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.2997, allocations: 0 / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2997, allocations: 0 / 437.7 MB, free: 144 kB / 334.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.2997, allocations: 0 / 437.7 MB, free: 144 kB / 334.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.001935/0.3017, allocations: 0.6453 MB / 438.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/0.3017, allocations: 12.03 kB / 438.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.091e-05/0.3018, allocations: 62.72 kB / 438.4 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.302, allocations: 44.73 kB / 438.5 MB, free: 15.34 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005911/0.3026, allocations: 271.5 kB / 438.7 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.3027, allocations: 110.3 kB / 438.8 MB, free: 14.92 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001835/0.3029, allocations: 40.25 kB / 438.9 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006583/0.3036, allocations: 321.6 kB / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.3036, allocations: 0 / 439.2 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.3036, allocations: 12 kB / 439.2 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.596e-06/0.3036, allocations: 4 kB / 439.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.3044, allocations: 309.7 kB / 439.5 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/0.3065, allocations: 1.116 MB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006559/0.3071, allocations: 283 kB / 440.9 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003466/0.3075, allocations: 158.4 kB / 441.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.232e-05/0.3075, allocations: 4 kB / 441.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.006e-05/0.3075, allocations: 42.5 kB / 441.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.3075, allocations: 0 / 441.1 MB, free: 12.55 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009581/0.3171, allocations: 2.273 MB / 443.4 MB, free: 10.24 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.902e-05/0.3172, allocations: 81.11 kB / 443.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000421/0.3176, allocations: 301 kB / 443.8 MB, free: 9.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.962e-05/0.3176, allocations: 37.7 kB / 443.8 MB, free: 9.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.3178, allocations: 164.7 kB / 444 MB, free: 9.629 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000161/0.318, allocations: 162.6 kB / 444.1 MB, free: 9.469 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001502/0.3181, allocations: 78.11 kB / 444.2 MB, free: 9.383 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.3183, allocations: 338.8 kB / 444.5 MB, free: 9.043 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004238/0.3187, allocations: 164.8 kB / 444.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.3192, allocations: 230.6 kB / 444.9 MB, free: 8.641 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008562/0.32, allocations: 407.8 kB / 445.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.32, allocations: 0 / 445.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001088/0.3211, allocations: 496.4 kB / 445.8 MB, free: 7.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.3211, allocations: 4 kB / 445.8 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.3211, allocations: 4 kB / 445.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.3212, allocations: 0 / 445.8 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006199/0.3218, allocations: 124 kB / 445.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.352e-05/0.3218, allocations: 4 kB / 445.9 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004013/0.3222, allocations: 31.97 kB / 446 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.3222, allocations: 12 kB / 446 MB, free: 7.555 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.0002101/0.3224, allocations: 161.6 kB / 446.1 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001184/0.3226, allocations: 35.81 kB / 446.2 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001895/0.3245, allocations: 0.6485 MB / 446.8 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.3245, allocations: 4 kB / 446.8 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.3245, allocations: 4 kB / 446.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.3245, allocations: 0 / 446.8 MB, free: 6.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.3278, allocations: 1.247 MB / 448.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.3278, allocations: 0 / 448.1 MB, free: 5.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004519/0.3283, allocations: 87.88 kB / 448.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001573/0.3299, allocations: 268.5 kB / 448.4 MB, free: 5.039 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.321e-05/0.3299, allocations: 15.98 kB / 448.4 MB, free: 5.023 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004262/0.3342, allocations: 2.332 MB / 450.8 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3342, allocations: 4.031 kB / 450.8 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002404/0.3366, allocations: 1.011 MB / 451.8 MB, free: 1.535 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.3368, allocations: 71.78 kB / 451.8 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.724e-05/0.3368, allocations: 12 kB / 451.9 MB, free: 1.453 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004511/0.3373, allocations: 35.97 kB / 451.9 MB, free: 1.418 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.3374, allocations: 44.3 kB / 451.9 MB, free: 1.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.57e-05/0.3375, allocations: 15.98 kB / 451.9 MB, free: 1.359 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002691/0.3377, allocations: 216.5 kB / 452.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3377, allocations: 0 / 452.2 MB, free: 1.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005705/0.3383, allocations: 111.9 kB / 452.3 MB, free: 1.035 MB / 350.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.00291/0.3412, allocations: 1.59 MB / 453.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001015/0.3422, allocations: 409.9 kB / 454.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3422, allocations: 0 / 454.3 MB, free: 15.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007411/0.343, allocations: 369.3 kB / 454.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005089/0.3435, allocations: 39.98 kB / 454.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006087/0.3496, allocations: 3.879 MB / 458.5 MB, free: 10.6 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.35, allocations: 0.7853 MB / 459.3 MB, free: 9.785 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002338/0.3503, allocations: 46.94 kB / 459.4 MB, free: 9.742 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002335/0.3505, allocations: 115.4 kB / 459.5 MB, free: 9.629 MB / 366.1 MB Notification: Performance of SimCode: time 8.22e-07/0.3505, allocations: 4 kB / 459.5 MB, free: 9.625 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05274/0.4032, allocations: 10.07 MB / 469.6 MB, free: 15.69 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.92/13.32, allocations: 19.97 kB / 469.6 MB, free: 15.67 MB / 382.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_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.947136936942115]