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.001624/0.001624, allocations: 121.8 kB / 18.5 MB, free: 4.578 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.001974/0.001974, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.521/1.521, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.00181/0.00181, allocations: 59.89 kB / 373.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1172, allocations: 53.33 MB / 426.7 MB, free: 4.996 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004696/0.1219, allocations: 2.859 MB / 429.5 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002417/0.1243, allocations: 1.304 MB / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.1245, allocations: 0 / 430.8 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002919/0.1248, allocations: 71.42 kB / 430.9 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005899/0.1254, allocations: 222.7 kB / 431.1 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.1257, allocations: 135.7 kB / 431.2 MB, free: 400 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.2276/0.3533, allocations: 456.2 kB / 431.7 MB, free: 7.742 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002664/0.3535, allocations: 64.02 kB / 431.8 MB, free: 7.734 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005111/0.354, allocations: 193 kB / 431.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003178/0.3544, allocations: 227.8 kB / 432.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.76e-05/0.3544, allocations: 41.75 kB / 432.2 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003894/0.3548, allocations: 162.9 kB / 432.4 MB, free: 7.695 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.902e-05/0.3549, allocations: 95.02 kB / 432.5 MB, free: 7.684 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001589/0.3551, allocations: 184 kB / 432.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005778/0.3556, allocations: 0.5119 MB / 433.1 MB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.3556, allocations: 4.281 kB / 433.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.245e-06/0.3556, allocations: 0 / 433.2 MB, free: 7.566 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.785e-06/0.3557, allocations: 0.9375 kB / 433.2 MB, free: 7.566 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.001478/0.3571, allocations: 0.7181 MB / 433.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.3572, allocations: 7.75 kB / 433.9 MB, free: 7.094 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.843e-05/0.3572, allocations: 65.91 kB / 433.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001865/0.3574, allocations: 44.39 kB / 434 MB, free: 7.039 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004688/0.3579, allocations: 332.1 kB / 434.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.632e-05/0.358, allocations: 54.67 kB / 434.4 MB, free: 6.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001526/0.3581, allocations: 44.38 kB / 434.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000601/0.3587, allocations: 316.2 kB / 434.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.3587, allocations: 3.609 kB / 434.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.3588, allocations: 15.06 kB / 434.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.919e-06/0.3588, allocations: 9.25 kB / 434.7 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006454/0.3594, allocations: 293.5 kB / 435 MB, free: 6.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001819/0.3612, allocations: 1.169 MB / 436.2 MB, free: 6.129 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.3619, allocations: 277 kB / 436.5 MB, free: 6.082 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/0.3622, allocations: 156.3 kB / 436.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.978e-05/0.3623, allocations: 5.531 kB / 436.6 MB, free: 6.066 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.869e-05/0.3623, allocations: 38.47 kB / 436.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.783e-06/0.3623, allocations: 1.188 kB / 436.7 MB, free: 6.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009291/0.3716, allocations: 2.413 MB / 439.1 MB, free: 5.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.3716, allocations: 82.5 kB / 439.2 MB, free: 5.367 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003423/0.372, allocations: 298.1 kB / 439.5 MB, free: 5.191 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.344e-05/0.372, allocations: 32.41 kB / 439.5 MB, free: 5.156 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.3721, allocations: 173.2 kB / 439.7 MB, free: 5.008 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.465e-05/0.3722, allocations: 151 kB / 439.8 MB, free: 4.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001372/0.3723, allocations: 79.08 kB / 439.9 MB, free: 4.848 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.924e-05/0.3724, allocations: 341.2 kB / 440.2 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003779/0.3728, allocations: 171.5 kB / 440.4 MB, free: 4.457 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.3732, allocations: 221.7 kB / 440.6 MB, free: 4.344 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007605/0.3739, allocations: 406.5 kB / 441 MB, free: 4.141 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.3739, allocations: 5.375 kB / 441 MB, free: 4.137 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001082/0.375, allocations: 490.2 kB / 441.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.848e-05/0.375, allocations: 5.594 kB / 441.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.03e-05/0.375, allocations: 2.969 kB / 441.5 MB, free: 3.941 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.307e-05/0.3751, allocations: 7.344 kB / 441.5 MB, free: 3.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006836/0.3758, allocations: 116.9 kB / 441.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.216e-05/0.3758, allocations: 3.953 kB / 441.6 MB, free: 3.934 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.3762, allocations: 32.38 kB / 441.6 MB, free: 3.926 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.3762, allocations: 14.23 kB / 441.7 MB, free: 3.926 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.000166/0.3764, allocations: 164.4 kB / 441.8 MB, free: 3.777 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.489e-05/0.3765, allocations: 31.09 kB / 441.8 MB, free: 3.762 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00187/0.3783, allocations: 0.6496 MB / 442.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.959e-06/0.3783, allocations: 5.922 kB / 442.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.3784, allocations: 3.438 kB / 442.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.3784, allocations: 3.281 kB / 442.5 MB, free: 3.504 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.3814, allocations: 1.274 MB / 443.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.3814, allocations: 0 / 443.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004574/0.3819, allocations: 89.53 kB / 443.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001571/0.3835, allocations: 274.7 kB / 444.1 MB, free: 2.809 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.251e-05/0.3835, allocations: 16.61 kB / 444.2 MB, free: 2.797 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003523/0.387, allocations: 2.433 MB / 446.6 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.387, allocations: 5.125 kB / 446.6 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002079/0.3891, allocations: 1.009 MB / 447.6 MB, free: 376 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001709/0.3893, allocations: 147.7 kB / 447.7 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.585e-05/0.3893, allocations: 10.53 kB / 447.8 MB, free: 232 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.3898, allocations: 30.48 kB / 447.8 MB, free: 224 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.3899, allocations: 44.98 kB / 447.8 MB, free: 212 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.3899, allocations: 18.67 kB / 447.8 MB, free: 208 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.3901, allocations: 207.2 kB / 448 MB, free: 80 kB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3901, allocations: 0 / 448 MB, free: 80 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005807/0.3907, allocations: 121.5 kB / 448.2 MB, free: 56 kB / 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.002932/0.3936, allocations: 1.589 MB / 449.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.3947, allocations: 409.7 kB / 450.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.3947, allocations: 0 / 450.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007528/0.3954, allocations: 372.1 kB / 450.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005173/0.396, allocations: 37.91 kB / 450.6 MB, free: 14.67 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00605/0.402, allocations: 3.865 MB / 454.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.4025, allocations: 0.7913 MB / 455.2 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002343/0.4027, allocations: 44.27 kB / 455.3 MB, free: 11.54 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002316/0.403, allocations: 124.5 kB / 455.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of SimCode: time 1.022e-06/0.403, allocations: 0 / 455.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03936/0.4423, allocations: 9.761 MB / 465.1 MB, free: 7.488 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.65, allocations: 14.61 kB / 465.2 MB, free: 7.477 MB / 366.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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.54743783781305]