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: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis,tolerance=0.0001,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding.i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 114.5 kB / 17.73 MB, free: 5.32 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.001064/0.001064, allocations: 179 kB / 18.66 MB, free: 4.398 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.462/1.462, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.001829/0.001829, allocations: 51.92 kB / 328.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.106, allocations: 46.62 MB / 375.1 MB, free: 4.559 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.00412/0.1102, allocations: 2.75 MB / 377.9 MB, free: 1.793 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001859/0.112, allocations: 1.285 MB / 379.2 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.1122, allocations: 4 kB / 379.2 MB, free: 0.4922 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000244/0.1125, allocations: 59.44 kB / 379.2 MB, free: 444 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004885/0.113, allocations: 234.7 kB / 379.5 MB, free: 208 kB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.1132, allocations: 111.8 kB / 379.6 MB, free: 96 kB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.2023/0.3155, allocations: 464.4 kB / 380 MB, free: 9.879 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002343/0.3158, allocations: 87.62 kB / 380.1 MB, free: 9.867 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003736/0.3161, allocations: 188.6 kB / 380.3 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003086/0.3165, allocations: 221 kB / 380.5 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.313e-05/0.3166, allocations: 40.5 kB / 380.6 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004024/0.317, allocations: 159 kB / 380.7 MB, free: 9.824 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001069/0.3171, allocations: 97.84 kB / 380.8 MB, free: 9.812 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.3173, allocations: 182.8 kB / 381 MB, free: 9.766 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006528/0.3179, allocations: 0.4968 MB / 381.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3179, allocations: 1.344 kB / 381.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.318, allocations: 0 / 381.5 MB, free: 9.719 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.554e-06/0.318, allocations: 0 / 381.5 MB, free: 9.719 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.001844/0.3198, allocations: 0.7095 MB / 382.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/0.3199, allocations: 9.5 kB / 382.2 MB, free: 9.258 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001126/0.32, allocations: 39.28 kB / 382.2 MB, free: 9.238 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005093/0.3205, allocations: 330 kB / 382.6 MB, free: 9.008 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.671e-05/0.3206, allocations: 52.38 kB / 382.6 MB, free: 8.977 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.3208, allocations: 41.61 kB / 382.7 MB, free: 8.973 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006815/0.3215, allocations: 325.5 kB / 383 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.3215, allocations: 2.297 kB / 383 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.845e-05/0.3216, allocations: 14.06 kB / 383 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.3216, allocations: 7.141 kB / 383 MB, free: 8.906 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000692/0.3223, allocations: 299.6 kB / 383.3 MB, free: 8.902 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001757/0.324, allocations: 1.156 MB / 384.4 MB, free: 8.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006144/0.3247, allocations: 290.9 kB / 384.7 MB, free: 8.289 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003328/0.325, allocations: 161.1 kB / 384.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.325, allocations: 6.297 kB / 384.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.103e-05/0.3251, allocations: 42.44 kB / 384.9 MB, free: 8.191 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.3251, allocations: 0 / 384.9 MB, free: 8.191 MB / 318.1 MB Notification: Performance of matching and sorting (n=42): time 0.00955/0.3346, allocations: 2.421 MB / 387.4 MB, free: 7.254 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3347, allocations: 85.56 kB / 387.4 MB, free: 7.16 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000358/0.335, allocations: 284.6 kB / 387.7 MB, free: 6.996 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.728e-05/0.3351, allocations: 35.98 kB / 387.8 MB, free: 6.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.351e-05/0.3352, allocations: 167.7 kB / 387.9 MB, free: 6.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.3353, allocations: 145.6 kB / 388.1 MB, free: 6.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001449/0.3355, allocations: 85.02 kB / 388.1 MB, free: 6.652 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.3355, allocations: 339.1 kB / 388.5 MB, free: 6.328 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004101/0.3359, allocations: 162.2 kB / 388.6 MB, free: 6.273 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004269/0.3364, allocations: 226.2 kB / 388.9 MB, free: 6.148 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008428/0.3372, allocations: 405.8 kB / 389.3 MB, free: 5.945 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.138e-06/0.3372, allocations: 5.125 kB / 389.3 MB, free: 5.941 MB / 318.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001088/0.3383, allocations: 493.4 kB / 389.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3384, allocations: 4.875 kB / 389.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.3384, allocations: 1.562 kB / 389.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.3384, allocations: 5.016 kB / 389.7 MB, free: 5.746 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006306/0.339, allocations: 115.5 kB / 389.9 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.3391, allocations: 3.094 kB / 389.9 MB, free: 5.742 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003947/0.3395, allocations: 36.5 kB / 389.9 MB, free: 5.73 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.3395, allocations: 17.67 kB / 389.9 MB, free: 5.73 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.0001468/0.3397, allocations: 161.1 kB / 390.1 MB, free: 5.582 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.255e-05/0.3398, allocations: 32.31 kB / 390.1 MB, free: 5.566 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/0.3416, allocations: 0.6576 MB / 390.8 MB, free: 5.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.3416, allocations: 9.438 kB / 390.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.3416, allocations: 0.9688 kB / 390.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3416, allocations: 2.641 kB / 390.8 MB, free: 5.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003059/0.3447, allocations: 1.275 MB / 392.1 MB, free: 4.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.378e-06/0.3447, allocations: 5.406 kB / 392.1 MB, free: 4.656 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004421/0.3452, allocations: 89.06 kB / 392.1 MB, free: 4.652 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.3468, allocations: 272.3 kB / 392.4 MB, free: 4.602 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.894e-05/0.3468, allocations: 12.89 kB / 392.4 MB, free: 4.594 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003738/0.3506, allocations: 2.436 MB / 394.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.3506, allocations: 1.797 kB / 394.9 MB, free: 2.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002284/0.3529, allocations: 1.011 MB / 395.9 MB, free: 2.168 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00016/0.3531, allocations: 147.2 kB / 396 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.169e-05/0.3531, allocations: 11.5 kB / 396 MB, free: 2.027 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004532/0.3536, allocations: 32.69 kB / 396.1 MB, free: 2.02 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001223/0.3537, allocations: 33.81 kB / 396.1 MB, free: 2.016 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.3538, allocations: 14.47 kB / 396.1 MB, free: 2.012 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001996/0.354, allocations: 216.4 kB / 396.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.354, allocations: 3.531 kB / 396.3 MB, free: 1.883 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006522/0.3546, allocations: 111.7 kB / 396.4 MB, free: 1.867 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.0002696/0.3549, allocations: 139.7 kB / 396.6 MB, free: 1.773 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.356, allocations: 434.5 kB / 397 MB, free: 1.637 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.848e-06/0.356, allocations: 5.5 kB / 397 MB, free: 1.633 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007423/0.3568, allocations: 383.3 kB / 397.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005102/0.3573, allocations: 48.8 kB / 397.4 MB, free: 1.402 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.3589, allocations: 0.955 MB / 398.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002416/0.3592, allocations: 0.7871 MB / 399.2 MB, free: 140 kB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002116/0.3594, allocations: 43.16 kB / 399.2 MB, free: 128 kB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001441/0.3596, allocations: 38.59 kB / 399.2 MB, free: 120 kB / 318.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3596, allocations: 0 / 399.2 MB, free: 120 kB / 318.1 MB Notification: Performance of Templates: time 0.01244/0.372, allocations: 6.435 MB / 405.7 MB, free: 13.59 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (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 & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/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