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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 113.4 kB / 17.73 MB, free: 5.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 184.2 kB / 18.66 MB, free: 4.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 51.92 kB / 328 MB, free: 3.809 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09253/0.09387, allocations: 46.61 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004045/0.09795, allocations: 2.77 MB / 377.4 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002256/0.1002, allocations: 1.274 MB / 378.7 MB, free: 1.016 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002961/0.1006, allocations: 8 kB / 378.7 MB, free: 1.008 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003374/0.1009, allocations: 71.42 kB / 378.8 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008003/0.1018, allocations: 230.9 kB / 379 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.1021, allocations: 111.8 kB / 379.1 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.1027, allocations: 463 kB / 379.5 MB, free: 152 kB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001908/0.1029, allocations: 88.53 kB / 379.6 MB, free: 60 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1922/0.2951, allocations: 187 kB / 379.8 MB, free: 9.375 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003939/0.2955, allocations: 219.9 kB / 380 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.048e-05/0.2956, allocations: 40.94 kB / 380.1 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004351/0.296, allocations: 163.4 kB / 380.2 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001074/0.2962, allocations: 91.94 kB / 380.3 MB, free: 9.359 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002185/0.2964, allocations: 183 kB / 380.5 MB, free: 9.312 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008101/0.2972, allocations: 0.5048 MB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.2972, allocations: 2.719 kB / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.2972, allocations: 0 / 381 MB, free: 9.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.2973, allocations: 4.875 kB / 381 MB, free: 9.262 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.001585/0.2988, allocations: 0.6985 MB / 381.7 MB, free: 8.809 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.2989, allocations: 9.625 kB / 381.7 MB, free: 8.809 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.479e-05/0.299, allocations: 60.42 kB / 381.8 MB, free: 8.77 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.048e-05/0.299, allocations: 40.59 kB / 381.8 MB, free: 8.75 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004629/0.2995, allocations: 326 kB / 382.1 MB, free: 8.523 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.435e-05/0.2996, allocations: 54.28 kB / 382.2 MB, free: 8.492 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001649/0.2998, allocations: 44.95 kB / 382.2 MB, free: 8.484 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000607/0.3004, allocations: 318.9 kB / 382.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.3004, allocations: 0.5312 kB / 382.5 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.461e-05/0.3005, allocations: 12.5 kB / 382.6 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.479e-05/0.3005, allocations: 8.641 kB / 382.6 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007791/0.3013, allocations: 306.5 kB / 382.9 MB, free: 8.422 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001723/0.303, allocations: 1.151 MB / 384 MB, free: 7.855 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005921/0.3036, allocations: 290.3 kB / 384.3 MB, free: 7.809 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003351/0.3039, allocations: 165 kB / 384.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.304, allocations: 3.375 kB / 384.5 MB, free: 7.789 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.304, allocations: 36.83 kB / 384.5 MB, free: 7.75 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.644e-06/0.304, allocations: 0 / 384.5 MB, free: 7.75 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.00929/0.3133, allocations: 2.426 MB / 386.9 MB, free: 6.984 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.566e-05/0.3134, allocations: 82.73 kB / 387 MB, free: 6.891 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.3137, allocations: 289.1 kB / 387.3 MB, free: 6.723 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.49e-05/0.3138, allocations: 35.67 kB / 387.3 MB, free: 6.684 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.05e-05/0.3139, allocations: 169.1 kB / 387.5 MB, free: 6.539 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001012/0.314, allocations: 142.2 kB / 387.6 MB, free: 6.43 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001404/0.3141, allocations: 79.97 kB / 387.7 MB, free: 6.387 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.657e-05/0.3142, allocations: 339.2 kB / 388 MB, free: 6.062 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003887/0.3146, allocations: 165.9 kB / 388.2 MB, free: 6.004 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004043/0.315, allocations: 228.2 kB / 388.4 MB, free: 5.879 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007564/0.3158, allocations: 405.4 kB / 388.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3158, allocations: 5.969 kB / 388.8 MB, free: 5.672 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000962/0.3167, allocations: 488.3 kB / 389.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.97e-05/0.3168, allocations: 5.625 kB / 389.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.3168, allocations: 1.531 kB / 389.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.3168, allocations: 11.28 kB / 389.3 MB, free: 5.477 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006104/0.3174, allocations: 116.1 kB / 389.4 MB, free: 5.473 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.3175, allocations: 8 kB / 389.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.3179, allocations: 31.44 kB / 389.5 MB, free: 5.461 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.793e-05/0.3179, allocations: 18.98 kB / 389.5 MB, free: 5.457 MB / 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.0001624/0.3181, allocations: 162.6 kB / 389.6 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.3182, allocations: 35.56 kB / 389.7 MB, free: 5.289 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001836/0.32, allocations: 0.6473 MB / 390.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.205e-06/0.32, allocations: 5.906 kB / 390.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.3201, allocations: 0 / 390.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.538e-06/0.3201, allocations: 3.984 kB / 390.3 MB, free: 5.031 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003052/0.3231, allocations: 1.28 MB / 391.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.3231, allocations: 4.812 kB / 391.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000429/0.3236, allocations: 87.3 kB / 391.7 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001604/0.3252, allocations: 271.2 kB / 392 MB, free: 4.328 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.3253, allocations: 16.78 kB / 392 MB, free: 4.316 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003575/0.3288, allocations: 2.441 MB / 394.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3288, allocations: 0 / 394.4 MB, free: 2.406 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.3311, allocations: 1.006 MB / 395.4 MB, free: 1.898 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001725/0.3313, allocations: 147.9 kB / 395.6 MB, free: 1.766 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.629e-05/0.3313, allocations: 7.859 kB / 395.6 MB, free: 1.762 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004344/0.3318, allocations: 34.34 kB / 395.6 MB, free: 1.75 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.3319, allocations: 34.91 kB / 395.7 MB, free: 1.746 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-05/0.3319, allocations: 17.2 kB / 395.7 MB, free: 1.738 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000211/0.3321, allocations: 214.3 kB / 395.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3321, allocations: 1.094 kB / 395.9 MB, free: 1.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006274/0.3328, allocations: 118 kB / 396 MB, free: 1.594 MB / 318.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.3356, allocations: 1.598 MB / 397.6 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3368, allocations: 428.4 kB / 398 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3368, allocations: 0 / 398 MB, free: 408 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000776/0.3376, allocations: 380.5 kB / 398.4 MB, free: 204 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005553/0.3381, allocations: 45.33 kB / 398.4 MB, free: 180 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005854/0.344, allocations: 3.841 MB / 402.3 MB, free: 13.77 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003944/0.3444, allocations: 0.7851 MB / 403.1 MB, free: 13.07 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.000207/0.3446, allocations: 45.73 kB / 403.1 MB, free: 13.06 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002295/0.3449, allocations: 119.8 kB / 403.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3449, allocations: 0 / 403.2 MB, free: 12.98 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03758/0.3824, allocations: 9.923 MB / 413.1 MB, free: 7.785 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.31/11.69, allocations: 0 / 413.1 MB, free: 7.785 MB / 334.1 MB (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 --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) 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) Reference file matches