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.001703/0.001703, allocations: 105.1 kB / 21.22 MB, free: 0.6211 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.002016/0.002016, allocations: 209.2 kB / 24.52 MB, free: 3.91 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.421/1.421, allocations: 230.5 MB / 258.2 MB, free: 7.781 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 67.89 kB / 378.5 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2798, allocations: 53.4 MB / 431.9 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004417/0.2842, allocations: 2.689 MB / 434.6 MB, free: 3.754 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.2864, allocations: 1.188 MB / 435.8 MB, free: 2.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002169/0.2867, allocations: 7.938 kB / 435.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002909/0.287, allocations: 67.44 kB / 435.9 MB, free: 2.484 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006027/0.2876, allocations: 226.7 kB / 436.1 MB, free: 2.262 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003335/0.2879, allocations: 135.8 kB / 436.2 MB, free: 2.129 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005468/0.2884, allocations: 455.1 kB / 436.7 MB, free: 1.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00017/0.2886, allocations: 68.77 kB / 436.7 MB, free: 1.613 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.2889, allocations: 195.4 kB / 436.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.2892, allocations: 219.2 kB / 437.1 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.722e-05/0.2893, allocations: 44 kB / 437.2 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003078/0.2896, allocations: 163.9 kB / 437.3 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.2897, allocations: 107.6 kB / 437.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.2899, allocations: 155.3 kB / 437.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006771/0.2906, allocations: 0.5136 MB / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2906, allocations: 0 / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2906, allocations: 0 / 438.1 MB, free: 236 kB / 334.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.2906, allocations: 0 / 438.1 MB, free: 236 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.001747/0.2923, allocations: 0.6453 MB / 438.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.2924, allocations: 12.03 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.864e-05/0.2924, allocations: 4.688 kB / 438.8 MB, free: 15.54 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.941e-05/0.2925, allocations: 62.73 kB / 438.8 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001906/0.2927, allocations: 44.73 kB / 438.9 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.2932, allocations: 283.4 kB / 439.1 MB, free: 15.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.2933, allocations: 106.3 kB / 439.3 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.2935, allocations: 44.11 kB / 439.3 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006651/0.2942, allocations: 351.3 kB / 439.6 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.2942, allocations: 3.938 kB / 439.6 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.2942, allocations: 12 kB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.2942, allocations: 4 kB / 439.7 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000708/0.2949, allocations: 293.8 kB / 439.9 MB, free: 14.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001866/0.2968, allocations: 1.042 MB / 441 MB, free: 13.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006418/0.2974, allocations: 277 kB / 441.3 MB, free: 12.89 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003341/0.2978, allocations: 156.6 kB / 441.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.2978, allocations: 4 kB / 441.4 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.685e-05/0.2979, allocations: 50.42 kB / 441.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/0.2979, allocations: 0 / 441.5 MB, free: 12.67 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009752/0.3076, allocations: 2.265 MB / 443.7 MB, free: 10.37 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.568e-05/0.3077, allocations: 85.11 kB / 443.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.3081, allocations: 293 kB / 444.1 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.544e-05/0.3081, allocations: 29.7 kB / 444.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.3083, allocations: 172.7 kB / 444.3 MB, free: 9.762 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.3085, allocations: 158.6 kB / 444.5 MB, free: 9.605 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.3086, allocations: 78.11 kB / 444.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.3088, allocations: 350.7 kB / 444.9 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004042/0.3092, allocations: 160.8 kB / 445 MB, free: 9.012 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004438/0.3097, allocations: 230.6 kB / 445.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008472/0.3105, allocations: 399.8 kB / 445.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.3105, allocations: 0 / 445.6 MB, free: 8.359 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001057/0.3116, allocations: 496.4 kB / 446.1 MB, free: 7.867 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.3116, allocations: 4 kB / 446.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.3116, allocations: 3.938 kB / 446.1 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3116, allocations: 4 kB / 446.1 MB, free: 7.855 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006257/0.3122, allocations: 120 kB / 446.3 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.3122, allocations: 8 kB / 446.3 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003957/0.3126, allocations: 27.98 kB / 446.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.169e-05/0.3127, allocations: 19.98 kB / 446.3 MB, free: 7.684 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.0001969/0.3129, allocations: 157.7 kB / 446.5 MB, free: 7.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.655e-05/0.313, allocations: 31.81 kB / 446.5 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001937/0.3149, allocations: 0.6447 MB / 447.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/0.3149, allocations: 8 kB / 447.1 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.3149, allocations: 4 kB / 447.2 MB, free: 6.828 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.755e-06/0.3149, allocations: 3.984 kB / 447.2 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.3182, allocations: 1.169 MB / 448.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/0.3182, allocations: 0 / 448.3 MB, free: 5.602 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004684/0.3187, allocations: 95.88 kB / 448.4 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001664/0.3204, allocations: 264.6 kB / 448.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.3204, allocations: 15.98 kB / 448.7 MB, free: 5.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/0.3247, allocations: 2.301 MB / 451 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3247, allocations: 0 / 451 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002501/0.3272, allocations: 1.011 MB / 452 MB, free: 1.777 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000202/0.3274, allocations: 75.73 kB / 452.1 MB, free: 1.703 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.369e-05/0.3275, allocations: 11.94 kB / 452.1 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.3279, allocations: 31.92 kB / 452.1 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.3281, allocations: 36.36 kB / 452.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.652e-05/0.3281, allocations: 15.98 kB / 452.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002621/0.3284, allocations: 216.5 kB / 452.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3284, allocations: 0 / 452.4 MB, free: 1.395 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005818/0.3289, allocations: 119.9 kB / 452.5 MB, free: 1.277 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.002848/0.3318, allocations: 1.579 MB / 454.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009832/0.3328, allocations: 421.9 kB / 454.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3328, allocations: 0 / 454.5 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007508/0.3335, allocations: 360.9 kB / 454.8 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.334, allocations: 44.23 kB / 454.9 MB, free: 14.86 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006251/0.3403, allocations: 3.872 MB / 458.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.3405, allocations: 183.1 kB / 458.9 MB, free: 10.65 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000237/0.3408, allocations: 46.94 kB / 459 MB, free: 10.61 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/0.3411, allocations: 119.4 kB / 459.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of SimCode: time 2.274e-06/0.3411, allocations: 0 / 459.1 MB, free: 10.49 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04057/0.3817, allocations: 9.795 MB / 468.9 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.4/13.78, allocations: 12 kB / 468.9 MB, free: 0.8438 MB / 366.1 MB " [Timeout remaining time 646] (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: 16.43477896892]