Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001145/0.001145, allocations: 103.2 kB / 17.59 MB, free: 5.43 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.0011/0.0011, allocations: 191.3 kB / 18.52 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 242.2 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001014/0.001014, allocations: 48.14 kB / 301.3 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1121/0.1131, allocations: 49.45 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005678/0.1189, allocations: 2.812 MB / 353.5 MB, free: 1.594 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002319/0.1213, allocations: 1.246 MB / 354.8 MB, free: 348 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001788/0.1215, allocations: 4 kB / 354.8 MB, free: 344 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002805/0.1218, allocations: 59.44 kB / 354.9 MB, free: 284 kB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005533/0.1224, allocations: 230.7 kB / 355.1 MB, free: 52 kB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.1227, allocations: 115.8 kB / 355.2 MB, free: 15.94 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004182/0.1231, allocations: 466.8 kB / 355.6 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001836/0.1233, allocations: 80.94 kB / 355.7 MB, free: 15.4 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002439/0.1235, allocations: 187.3 kB / 355.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.1238, allocations: 219.2 kB / 356.1 MB, free: 15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.772e-05/0.1239, allocations: 40 kB / 356.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000284/0.1242, allocations: 167.9 kB / 356.3 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.204e-05/0.1243, allocations: 87.72 kB / 356.4 MB, free: 14.71 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001688/0.1244, allocations: 187.1 kB / 356.6 MB, free: 14.53 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000608/0.1251, allocations: 0.4984 MB / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.1251, allocations: 0 / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1251, allocations: 0 / 357.1 MB, free: 14.03 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.1251, allocations: 0 / 357.1 MB, free: 14.03 MB / 302.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.001687/0.1268, allocations: 0.7055 MB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.1268, allocations: 8.031 kB / 357.8 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.753e-05/0.127, allocations: 36.56 kB / 357.8 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004451/0.1274, allocations: 325.2 kB / 358.2 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-05/0.1275, allocations: 50.81 kB / 358.2 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.1277, allocations: 40.48 kB / 358.2 MB, free: 12.78 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008347/0.1286, allocations: 324.4 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1286, allocations: 3.938 kB / 358.6 MB, free: 12.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/0.1286, allocations: 12 kB / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.1287, allocations: 4 kB / 358.6 MB, free: 12.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006806/0.1293, allocations: 302 kB / 358.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.1312, allocations: 1.167 MB / 360 MB, free: 10.89 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006031/0.1318, allocations: 296.1 kB / 360.3 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.1321, allocations: 165.6 kB / 360.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.839e-05/0.1322, allocations: 11.86 kB / 360.5 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.1322, allocations: 38.56 kB / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.816e-06/0.1322, allocations: 0 / 360.5 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.009385/0.1416, allocations: 2.407 MB / 363 MB, free: 7.871 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/0.1417, allocations: 85.09 kB / 363 MB, free: 7.77 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000348/0.142, allocations: 288.9 kB / 363.3 MB, free: 7.477 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.817e-05/0.1421, allocations: 33.7 kB / 363.4 MB, free: 7.438 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.1422, allocations: 168.5 kB / 363.5 MB, free: 7.27 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.1423, allocations: 145.9 kB / 363.7 MB, free: 7.125 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.1425, allocations: 82.02 kB / 363.7 MB, free: 7.039 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.1426, allocations: 338.8 kB / 364.1 MB, free: 6.699 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003937/0.143, allocations: 164.8 kB / 364.2 MB, free: 6.539 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.1435, allocations: 226.6 kB / 364.5 MB, free: 6.297 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008397/0.1443, allocations: 415.5 kB / 364.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1444, allocations: 0 / 364.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0011/0.1455, allocations: 492.2 kB / 365.3 MB, free: 5.383 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/0.1455, allocations: 8 kB / 365.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.458e-06/0.1455, allocations: 0 / 365.3 MB, free: 5.375 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.1455, allocations: 8 kB / 365.4 MB, free: 5.367 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006159/0.1462, allocations: 124 kB / 365.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.845e-06/0.1462, allocations: 0 / 365.5 MB, free: 5.246 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004006/0.1466, allocations: 35.91 kB / 365.5 MB, free: 5.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1466, allocations: 16 kB / 365.5 MB, free: 5.195 MB / 302.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.0001852/0.1468, allocations: 161.6 kB / 365.7 MB, free: 5.027 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.484e-05/0.1469, allocations: 27.72 kB / 365.7 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001889/0.1488, allocations: 0.6564 MB / 366.4 MB, free: 4.336 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.1489, allocations: 8 kB / 366.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.1489, allocations: 0 / 366.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.613e-06/0.1489, allocations: 0 / 366.4 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003204/0.1521, allocations: 1.279 MB / 367.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.1521, allocations: 4 kB / 367.7 MB, free: 2.988 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.1526, allocations: 87.88 kB / 367.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.1542, allocations: 276.4 kB / 368 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.984e-05/0.1543, allocations: 19.98 kB / 368 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004029/0.1583, allocations: 2.435 MB / 370.5 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1583, allocations: 0 / 370.5 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1892/0.3476, allocations: 1.002 MB / 371.5 MB, free: 25.49 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.3478, allocations: 147.1 kB / 371.6 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.295e-05/0.3479, allocations: 10.98 kB / 371.6 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004733/0.3484, allocations: 27.47 kB / 371.7 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.3485, allocations: 43.59 kB / 371.7 MB, free: 25.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.3485, allocations: 15.38 kB / 371.7 MB, free: 25.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002376/0.3488, allocations: 211.2 kB / 371.9 MB, free: 25.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3488, allocations: 1.625 kB / 371.9 MB, free: 25.32 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005865/0.3494, allocations: 115.3 kB / 372 MB, free: 25.32 MB / 302.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.0002517/0.3496, allocations: 141.7 kB / 372.2 MB, free: 25.23 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001087/0.3507, allocations: 448.9 kB / 372.6 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3508, allocations: 0 / 372.6 MB, free: 25.22 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000664/0.3514, allocations: 383.8 kB / 373 MB, free: 25.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005426/0.352, allocations: 42.52 kB / 373 MB, free: 25.1 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001859/0.3538, allocations: 1.001 MB / 374 MB, free: 24.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.3541, allocations: 0.7863 MB / 374.8 MB, free: 23.91 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001484/0.3543, allocations: 41.23 kB / 374.8 MB, free: 23.9 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3543, allocations: 0 / 374.8 MB, free: 23.9 MB / 302.1 MB Notification: Performance of Templates: time 0.009115/0.3634, allocations: 5.703 MB / 380.6 MB, free: 23.04 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches