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.002208/0.002208, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.003285/0.003285, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.663/1.663, allocations: 207.6 MB / 235.3 MB, free: 10 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_FluxTubes_Examples_Hysteresis_InductorWithHysteresis",fmuType="me",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.002245/0.002245, allocations: 51.92 kB / 347.2 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3342, allocations: 49.16 MB / 396.3 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005632/0.3399, allocations: 2.797 MB / 399.1 MB, free: 7.059 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002438/0.3423, allocations: 1.291 MB / 400.4 MB, free: 6.145 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004434/0.3428, allocations: 7.219 kB / 400.4 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004224/0.3432, allocations: 62.5 kB / 400.5 MB, free: 6.105 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001055/0.3442, allocations: 231.6 kB / 400.7 MB, free: 5.977 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004317/0.3447, allocations: 127.1 kB / 400.9 MB, free: 5.902 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007828/0.3454, allocations: 463.3 kB / 401.3 MB, free: 5.684 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001896/0.3456, allocations: 66.22 kB / 401.4 MB, free: 5.645 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004198/0.3461, allocations: 184.3 kB / 401.6 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004103/0.3465, allocations: 226 kB / 401.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.3465, allocations: 41.56 kB / 401.8 MB, free: 5.461 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003947/0.3469, allocations: 162 kB / 402 MB, free: 5.43 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.113e-05/0.347, allocations: 96.25 kB / 402.1 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001667/0.3472, allocations: 182.6 kB / 402.2 MB, free: 5.258 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007168/0.3479, allocations: 0.5042 MB / 402.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.747e-06/0.3479, allocations: 5.766 kB / 402.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.3479, allocations: 0 / 402.8 MB, free: 5.055 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.393e-05/0.3479, allocations: 0 / 402.8 MB, free: 5.055 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.001645/0.3496, allocations: 0.6406 MB / 403.4 MB, free: 4.617 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.3496, allocations: 13.52 kB / 403.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.568e-05/0.3497, allocations: 61.55 kB / 403.5 MB, free: 4.559 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.3498, allocations: 34.94 kB / 403.5 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004408/0.3502, allocations: 270.1 kB / 403.8 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-05/0.3503, allocations: 103.9 kB / 403.9 MB, free: 4.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.3504, allocations: 43.31 kB / 403.9 MB, free: 4.199 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005789/0.351, allocations: 318 kB / 404.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.351, allocations: 1.219 kB / 404.2 MB, free: 4.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.019e-05/0.3511, allocations: 18.14 kB / 404.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.155e-05/0.3511, allocations: 7.438 kB / 404.2 MB, free: 4.035 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006865/0.3518, allocations: 306.5 kB / 404.5 MB, free: 3.941 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.3535, allocations: 1.127 MB / 405.7 MB, free: 3.145 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006147/0.3541, allocations: 280.6 kB / 405.9 MB, free: 3.012 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003225/0.3544, allocations: 158.3 kB / 406.1 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.043e-05/0.3545, allocations: 7.375 kB / 406.1 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.51e-05/0.3545, allocations: 37.27 kB / 406.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.653e-06/0.3545, allocations: 0 / 406.1 MB, free: 2.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.008824/0.3633, allocations: 2.268 MB / 408.4 MB, free: 2.129 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.3634, allocations: 85.75 kB / 408.5 MB, free: 2.031 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003861/0.3637, allocations: 286.4 kB / 408.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.616e-05/0.3638, allocations: 36.72 kB / 408.8 MB, free: 1.828 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.285e-05/0.3639, allocations: 172.2 kB / 409 MB, free: 1.68 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.912e-05/0.364, allocations: 147.5 kB / 409.1 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.3641, allocations: 83.8 kB / 409.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.3642, allocations: 344.3 kB / 409.5 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003967/0.3646, allocations: 166.8 kB / 409.7 MB, free: 1.125 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.365, allocations: 221.8 kB / 409.9 MB, free: 0.9766 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007992/0.3658, allocations: 412.4 kB / 410.3 MB, free: 0.7305 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3658, allocations: 4 kB / 410.3 MB, free: 0.7266 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001003/0.3668, allocations: 491.1 kB / 410.8 MB, free: 484 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.3668, allocations: 5.688 kB / 410.8 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3668, allocations: 2.531 kB / 410.8 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.356e-05/0.3669, allocations: 7.344 kB / 410.8 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/0.3675, allocations: 117.4 kB / 410.9 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.3675, allocations: 4.219 kB / 410.9 MB, free: 448 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003963/0.3679, allocations: 33.78 kB / 411 MB, free: 432 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.724e-05/0.3679, allocations: 11.59 kB / 411 MB, free: 432 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.0001593/0.3681, allocations: 163.9 kB / 411.1 MB, free: 272 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.347e-05/0.3682, allocations: 30.56 kB / 411.2 MB, free: 256 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001821/0.37, allocations: 0.6467 MB / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.658e-06/0.37, allocations: 5.75 kB / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.37, allocations: 0 / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.37, allocations: 1.375 kB / 411.8 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.3733, allocations: 1.249 MB / 413.1 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3733, allocations: 1.5 kB / 413.1 MB, free: 15 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000434/0.3737, allocations: 92.03 kB / 413.2 MB, free: 14.98 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001567/0.3753, allocations: 274.2 kB / 413.4 MB, free: 14.84 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.3754, allocations: 15.61 kB / 413.5 MB, free: 14.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00436/0.3797, allocations: 2.332 MB / 415.8 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.3797, allocations: 5.281 kB / 415.8 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002483/0.3822, allocations: 0.9996 MB / 416.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002502/0.3825, allocations: 77.8 kB / 416.9 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.487e-05/0.3825, allocations: 15.44 kB / 416.9 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004835/0.383, allocations: 22.33 kB / 416.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001445/0.3832, allocations: 44.3 kB / 416.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.832e-05/0.3832, allocations: 9.781 kB / 417 MB, free: 12.11 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003593/0.3836, allocations: 213.3 kB / 417.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3836, allocations: 0 / 417.2 MB, free: 11.97 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000855/0.3844, allocations: 122.1 kB / 417.3 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.003497/0.3879, allocations: 1.581 MB / 418.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.3891, allocations: 411 kB / 419.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.3891, allocations: 1.75 kB / 419.3 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.3899, allocations: 369.1 kB / 419.6 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.000533/0.3905, allocations: 43.45 kB / 419.7 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007609/0.3981, allocations: 3.864 MB / 423.5 MB, free: 7.434 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005211/0.3986, allocations: 0.7853 MB / 424.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002225/0.3988, allocations: 42.95 kB / 424.4 MB, free: 6.578 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.399, allocations: 119.4 kB / 424.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3991, allocations: 0 / 424.5 MB, free: 6.461 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04933/0.4484, allocations: 10.06 MB / 434.5 MB, free: 12.34 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/13.98, allocations: 8 kB / 434.5 MB, free: 12.33 MB / 350.1 MB " [Timeout remaining time 646] (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: 16.927978625055403]