Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.006209/0.006209, allocations: 111.2 kB / 21.97 MB, free: 5.246 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.002106/0.002106, allocations: 205.1 kB / 25.27 MB, free: 3.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.346/1.346, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 47.94 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2511/0.2528, allocations: 49.16 MB / 397.1 MB, free: 8.984 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003413/0.2562, allocations: 2.792 MB / 399.9 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001961/0.2582, allocations: 1.294 MB / 401.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.2585, allocations: 4.312 kB / 401.2 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002834/0.2588, allocations: 62.25 kB / 401.3 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006061/0.2594, allocations: 235.7 kB / 401.5 MB, free: 5.973 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003046/0.2597, allocations: 120 kB / 401.6 MB, free: 5.906 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004486/0.2601, allocations: 462.8 kB / 402.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001332/0.2602, allocations: 66.17 kB / 402.2 MB, free: 5.648 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002562/0.2605, allocations: 188.8 kB / 402.3 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002807/0.2608, allocations: 217.1 kB / 402.5 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.708e-05/0.2608, allocations: 45.66 kB / 402.6 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002981/0.2611, allocations: 162 kB / 402.8 MB, free: 5.434 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.987e-05/0.2612, allocations: 95.19 kB / 402.8 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001434/0.2614, allocations: 184 kB / 403 MB, free: 5.262 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005374/0.2619, allocations: 0.5047 MB / 403.5 MB, free: 5.062 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2619, allocations: 4 kB / 403.5 MB, free: 5.059 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.133e-06/0.2619, allocations: 0 / 403.5 MB, free: 5.059 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.584e-06/0.2619, allocations: 1.188 kB / 403.5 MB, free: 5.059 MB / 318.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.001458/0.2634, allocations: 0.637 MB / 404.2 MB, free: 4.625 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.2634, allocations: 17.36 kB / 404.2 MB, free: 4.617 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.264e-05/0.2634, allocations: 10.67 kB / 404.2 MB, free: 4.609 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.172e-05/0.2635, allocations: 62.11 kB / 404.3 MB, free: 4.555 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.27e-05/0.2636, allocations: 35.72 kB / 404.3 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.264, allocations: 271.1 kB / 404.6 MB, free: 4.32 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.531e-05/0.2641, allocations: 101.8 kB / 404.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001659/0.2642, allocations: 42 kB / 404.7 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005926/0.2648, allocations: 323.3 kB / 405 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.2648, allocations: 0 / 405 MB, free: 4.047 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.2649, allocations: 11.44 kB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.2649, allocations: 6.094 kB / 405 MB, free: 4.039 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006614/0.2655, allocations: 306.8 kB / 405.3 MB, free: 3.945 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.2672, allocations: 1.137 MB / 406.5 MB, free: 3.141 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005772/0.2678, allocations: 279.8 kB / 406.7 MB, free: 3.008 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.2681, allocations: 153.9 kB / 406.9 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.442e-05/0.2681, allocations: 7.375 kB / 406.9 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.724e-05/0.2681, allocations: 45.48 kB / 406.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.442e-06/0.2681, allocations: 0 / 406.9 MB, free: 2.887 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.008725/0.2769, allocations: 2.264 MB / 409.2 MB, free: 2.125 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2769, allocations: 82.55 kB / 409.3 MB, free: 2.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003579/0.2773, allocations: 290.6 kB / 409.6 MB, free: 1.863 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.2773, allocations: 31.48 kB / 409.6 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.399e-05/0.2774, allocations: 180 kB / 409.8 MB, free: 1.672 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.019e-05/0.2775, allocations: 148.7 kB / 409.9 MB, free: 1.555 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001381/0.2776, allocations: 83.66 kB / 410 MB, free: 1.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.2777, allocations: 343.5 kB / 410.3 MB, free: 1.18 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003795/0.278, allocations: 158.3 kB / 410.5 MB, free: 1.129 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000373/0.2784, allocations: 235.8 kB / 410.7 MB, free: 0.9688 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/0.2791, allocations: 404.4 kB / 411.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2791, allocations: 1.5 kB / 411.1 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009108/0.28, allocations: 490.2 kB / 411.6 MB, free: 488 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.2801, allocations: 5.812 kB / 411.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.2801, allocations: 1.469 kB / 411.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.2801, allocations: 4.344 kB / 411.6 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005566/0.2806, allocations: 126.1 kB / 411.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.467e-06/0.2807, allocations: 2.594 kB / 411.7 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.281, allocations: 31.48 kB / 411.8 MB, free: 436 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.605e-05/0.2811, allocations: 19.05 kB / 411.8 MB, free: 428 kB / 318.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.0001457/0.2812, allocations: 155.8 kB / 411.9 MB, free: 276 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.085e-05/0.2813, allocations: 33.97 kB / 412 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001754/0.283, allocations: 0.6477 MB / 412.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.193e-06/0.283, allocations: 5.531 kB / 412.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.2831, allocations: 0 / 412.6 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.297e-06/0.2831, allocations: 5.266 kB / 412.6 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003079/0.2861, allocations: 1.249 MB / 413.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.2861, allocations: 1.188 kB / 413.9 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.2866, allocations: 86.73 kB / 414 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001501/0.2881, allocations: 271 kB / 414.2 MB, free: 14.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.2881, allocations: 8.281 kB / 414.2 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004055/0.2922, allocations: 2.348 MB / 416.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2922, allocations: 0 / 416.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002289/0.2944, allocations: 1.001 MB / 417.6 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.2946, allocations: 73.03 kB / 417.7 MB, free: 12.17 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.2947, allocations: 8.375 kB / 417.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004203/0.2951, allocations: 34.62 kB / 417.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.2952, allocations: 43.88 kB / 417.7 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.166e-05/0.2953, allocations: 13.59 kB / 417.8 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.2955, allocations: 213 kB / 418 MB, free: 11.96 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2955, allocations: 1.094 kB / 418 MB, free: 11.96 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005839/0.2961, allocations: 117.2 kB / 418.1 MB, free: 11.95 MB / 334.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.002759/0.2988, allocations: 1.578 MB / 419.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000999/0.2998, allocations: 418.9 kB / 420.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2998, allocations: 0 / 420.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007264/0.3006, allocations: 366.3 kB / 420.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005129/0.3011, allocations: 38.56 kB / 420.5 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006038/0.3071, allocations: 3.865 MB / 424.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004295/0.3076, allocations: 0.7853 MB / 425.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.3078, allocations: 46.94 kB / 425.2 MB, free: 6.566 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002328/0.308, allocations: 115.4 kB / 425.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of SimCode: time 9.22e-07/0.308, allocations: 0 / 425.3 MB, free: 6.453 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/0.3467, allocations: 10.08 MB / 435.4 MB, free: 12.32 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.52/12.86, allocations: 3.906 kB / 435.4 MB, free: 12.31 MB / 350.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis_fmu --startTime=0 --stopTime=0.02 --stepSize=4e-06 --timeout=50 --tolerance=0.0001 Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis.fmu > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.35150402202271]