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.001623/0.001623, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002029/0.002029, allocations: 216.5 kB / 24.53 MB, free: 4.012 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.487/1.487, allocations: 230.5 MB / 258.2 MB, free: 7.996 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.00188/0.00188, allocations: 59.91 kB / 378.6 MB, free: 3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2791/0.281, allocations: 53.41 MB / 432 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004552/0.2856, allocations: 2.881 MB / 434.8 MB, free: 3.785 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2879, allocations: 1.308 MB / 436.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002326/0.2881, allocations: 4 kB / 436.2 MB, free: 2.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003017/0.2884, allocations: 73.09 kB / 436.2 MB, free: 2.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006293/0.289, allocations: 234.6 kB / 436.5 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000334/0.2894, allocations: 127.8 kB / 436.6 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005258/0.2899, allocations: 467 kB / 437 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001558/0.29, allocations: 60.83 kB / 437.1 MB, free: 1.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003222/0.2904, allocations: 199.4 kB / 437.3 MB, free: 1.324 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003163/0.2907, allocations: 219.2 kB / 437.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.2907, allocations: 44 kB / 437.5 MB, free: 1.066 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003065/0.2911, allocations: 171.9 kB / 437.7 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.456e-05/0.2911, allocations: 91.67 kB / 437.8 MB, free: 0.8086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.2913, allocations: 187.1 kB / 438 MB, free: 0.625 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006474/0.292, allocations: 0.5059 MB / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.292, allocations: 0 / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.292, allocations: 0 / 438.5 MB, free: 120 kB / 334.1 MB Notification: Performance of Transformations before backend: time 6.823e-06/0.292, allocations: 4 kB / 438.5 MB, free: 116 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.001627/0.2936, allocations: 0.6416 MB / 439.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2936, allocations: 8.031 kB / 439.1 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.185e-05/0.2937, allocations: 12.62 kB / 439.2 MB, free: 15.42 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.735e-05/0.2937, allocations: 58.73 kB / 439.2 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001851/0.2939, allocations: 44.73 kB / 439.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004889/0.2944, allocations: 283.5 kB / 439.5 MB, free: 15 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001008/0.2945, allocations: 102.3 kB / 439.6 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001557/0.2947, allocations: 44 kB / 439.7 MB, free: 14.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006197/0.2953, allocations: 321.6 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.2953, allocations: 4 kB / 440 MB, free: 14.52 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.422e-05/0.2953, allocations: 12 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.2953, allocations: 4 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007167/0.2961, allocations: 305.7 kB / 440.3 MB, free: 14.2 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001857/0.2979, allocations: 1.112 MB / 441.4 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006366/0.2985, allocations: 283.8 kB / 441.7 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003373/0.2989, allocations: 156.9 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.535e-05/0.2989, allocations: 4 kB / 441.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.2989, allocations: 46.48 kB / 441.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.299, allocations: 4 kB / 441.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=42): time 0.009298/0.3082, allocations: 2.261 MB / 444.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.653e-05/0.3083, allocations: 89.05 kB / 444.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004037/0.3087, allocations: 297 kB / 444.5 MB, free: 9.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.452e-05/0.3088, allocations: 29.7 kB / 444.6 MB, free: 9.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.3089, allocations: 168.7 kB / 444.7 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.309, allocations: 158.6 kB / 444.9 MB, free: 9.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001774/0.3092, allocations: 86.03 kB / 445 MB, free: 9.348 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3094, allocations: 342.8 kB / 445.3 MB, free: 9.004 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004003/0.3098, allocations: 164.8 kB / 445.5 MB, free: 8.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004459/0.3102, allocations: 234.7 kB / 445.7 MB, free: 8.598 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008494/0.3111, allocations: 403.8 kB / 446.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3111, allocations: 0 / 446.1 MB, free: 8.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001113/0.3122, allocations: 488.6 kB / 446.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.349e-05/0.3122, allocations: 4 kB / 446.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.188e-05/0.3122, allocations: 4 kB / 446.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.3123, allocations: 4 kB / 446.6 MB, free: 7.688 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006099/0.3129, allocations: 119.8 kB / 446.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.3129, allocations: 4 kB / 446.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003788/0.3133, allocations: 32.02 kB / 446.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.229e-05/0.3133, allocations: 19.98 kB / 446.8 MB, free: 7.516 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.0001948/0.3135, allocations: 153.7 kB / 446.9 MB, free: 7.355 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.3136, allocations: 35.8 kB / 446.9 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002018/0.3156, allocations: 0.6485 MB / 447.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.011e-05/0.3156, allocations: 8 kB / 447.6 MB, free: 6.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3157, allocations: 7.938 kB / 447.6 MB, free: 6.652 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.277e-06/0.3157, allocations: 3.984 kB / 447.6 MB, free: 6.648 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003232/0.3189, allocations: 1.24 MB / 448.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.3189, allocations: 4 kB / 448.9 MB, free: 5.352 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004666/0.3194, allocations: 91.88 kB / 448.9 MB, free: 5.262 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.3209, allocations: 268.5 kB / 449.2 MB, free: 4.996 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.321, allocations: 12 kB / 449.2 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004445/0.3254, allocations: 2.332 MB / 451.6 MB, free: 2.527 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.3254, allocations: 4.031 kB / 451.6 MB, free: 2.523 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002465/0.3279, allocations: 1.015 MB / 452.6 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001915/0.3281, allocations: 67.73 kB / 452.6 MB, free: 1.43 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.614e-05/0.3281, allocations: 15.98 kB / 452.7 MB, free: 1.414 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.3286, allocations: 31.98 kB / 452.7 MB, free: 1.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.3287, allocations: 36.36 kB / 452.7 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.338e-05/0.3287, allocations: 12 kB / 452.7 MB, free: 1.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002513/0.329, allocations: 220.5 kB / 452.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.329, allocations: 0 / 452.9 MB, free: 1.117 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005651/0.3295, allocations: 115.9 kB / 453.1 MB, free: 1.004 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.002901/0.3324, allocations: 1.579 MB / 454.6 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.3335, allocations: 410 kB / 455 MB, free: 15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.3335, allocations: 3.938 kB / 455 MB, free: 14.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007407/0.3342, allocations: 372.8 kB / 455.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.3347, allocations: 59.47 kB / 455.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006445/0.3412, allocations: 3.872 MB / 459.3 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004466/0.3416, allocations: 0.7892 MB / 460.1 MB, free: 9.746 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002023/0.3418, allocations: 38.97 kB / 460.2 MB, free: 9.711 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002435/0.3421, allocations: 115.4 kB / 460.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of SimCode: time 1.102e-06/0.3421, allocations: 0 / 460.3 MB, free: 9.598 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04134/0.3834, allocations: 10.12 MB / 470.4 MB, free: 15.62 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.06/13.44, allocations: 15.08 kB / 470.4 MB, free: 15.61 MB / 382.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.17212942399783]