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.001307/0.001307, allocations: 104.7 kB / 17.93 MB, free: 5.426 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.001191/0.001191, allocations: 185.9 kB / 18.85 MB, free: 4.504 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.396/1.396, allocations: 205.1 MB / 224.7 MB, free: 12.45 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.001365/0.001365, allocations: 51.92 kB / 280.8 MB, free: 3.477 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0947/0.09608, allocations: 46.62 MB / 327.4 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.004537/0.1007, allocations: 2.82 MB / 330.3 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002146/0.1028, allocations: 1.255 MB / 331.5 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.1032, allocations: 4 kB / 331.5 MB, free: 0.6758 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003668/0.1036, allocations: 59.55 kB / 331.6 MB, free: 0.6172 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007185/0.1043, allocations: 195 kB / 331.8 MB, free: 436 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003126/0.1046, allocations: 107.8 kB / 331.9 MB, free: 328 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006557/0.1053, allocations: 459 kB / 332.3 MB, free: 15.87 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002204/0.1055, allocations: 84.94 kB / 332.4 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000416/0.106, allocations: 183.3 kB / 332.6 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004283/0.1064, allocations: 223.2 kB / 332.8 MB, free: 15.39 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001136/0.1065, allocations: 44 kB / 332.8 MB, free: 15.35 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003913/0.1069, allocations: 163.8 kB / 333 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.315e-05/0.107, allocations: 87.67 kB / 333.1 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.1073, allocations: 187.2 kB / 333.3 MB, free: 14.92 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005036/0.1078, allocations: 387 kB / 333.6 MB, free: 14.54 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.1078, allocations: 3.938 kB / 333.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.1078, allocations: 0 / 333.7 MB, free: 14.54 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1078, allocations: 0 / 333.7 MB, free: 14.54 MB / 286.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.001921/0.1097, allocations: 0.7016 MB / 334.4 MB, free: 13.79 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1098, allocations: 12.02 kB / 334.4 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001209/0.1099, allocations: 36.56 kB / 334.4 MB, free: 13.74 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004503/0.1104, allocations: 325 kB / 334.7 MB, free: 13.38 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.1105, allocations: 58.81 kB / 334.8 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.1106, allocations: 36.44 kB / 334.8 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006061/0.1113, allocations: 320.5 kB / 335.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.1113, allocations: 0 / 335.1 MB, free: 12.95 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.347e-05/0.1113, allocations: 12 kB / 335.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.007e-06/0.1113, allocations: 4 kB / 335.1 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000637/0.112, allocations: 310 kB / 335.4 MB, free: 12.64 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001739/0.1137, allocations: 1.167 MB / 336.6 MB, free: 11.39 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.1143, allocations: 289 kB / 336.9 MB, free: 11.09 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003476/0.1147, allocations: 169.6 kB / 337.1 MB, free: 10.92 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.914e-05/0.1147, allocations: 11.98 kB / 337.1 MB, free: 10.91 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.67e-05/0.1148, allocations: 34.56 kB / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.553e-06/0.1148, allocations: 0 / 337.1 MB, free: 10.86 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.009319/0.1241, allocations: 2.409 MB / 339.5 MB, free: 8.379 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.1242, allocations: 89.05 kB / 339.6 MB, free: 8.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.1246, allocations: 292.9 kB / 339.9 MB, free: 7.973 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.1246, allocations: 29.7 kB / 339.9 MB, free: 7.938 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1247, allocations: 164.5 kB / 340.1 MB, free: 7.773 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001228/0.1249, allocations: 149.9 kB / 340.2 MB, free: 7.625 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001738/0.125, allocations: 82.02 kB / 340.3 MB, free: 7.539 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1252, allocations: 338.8 kB / 340.6 MB, free: 7.199 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003881/0.1256, allocations: 164.8 kB / 340.8 MB, free: 7.039 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004184/0.126, allocations: 230.7 kB / 341 MB, free: 6.797 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008187/0.1268, allocations: 415.5 kB / 341.4 MB, free: 6.371 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.1268, allocations: 0 / 341.4 MB, free: 6.371 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001005/0.1278, allocations: 476.6 kB / 341.9 MB, free: 5.898 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.162e-05/0.1279, allocations: 15.3 kB / 341.9 MB, free: 5.887 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/0.1279, allocations: 4 kB / 341.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/0.1279, allocations: 0 / 341.9 MB, free: 5.883 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.1286, allocations: 123.7 kB / 342 MB, free: 5.762 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.1286, allocations: 4 kB / 342 MB, free: 5.758 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003986/0.129, allocations: 35.92 kB / 342.1 MB, free: 5.723 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/0.1291, allocations: 19.98 kB / 342.1 MB, free: 5.703 MB / 286.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.0001974/0.1293, allocations: 157.7 kB / 342.2 MB, free: 5.539 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001019/0.1294, allocations: 27.62 kB / 342.3 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/0.1313, allocations: 0.6564 MB / 342.9 MB, free: 4.84 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.1313, allocations: 4 kB / 342.9 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.1313, allocations: 0 / 342.9 MB, free: 4.836 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1313, allocations: 4 kB / 342.9 MB, free: 4.832 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0033/0.1346, allocations: 1.275 MB / 344.2 MB, free: 3.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.1346, allocations: 4 kB / 344.2 MB, free: 3.496 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/0.1351, allocations: 91.88 kB / 344.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001585/0.1367, allocations: 264.6 kB / 344.6 MB, free: 3.145 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.072e-05/0.1368, allocations: 11.98 kB / 344.6 MB, free: 3.133 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003981/0.1407, allocations: 2.439 MB / 347 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.1408, allocations: 3.984 kB / 347 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002309/0.1431, allocations: 1.014 MB / 348 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002011/0.1433, allocations: 148.7 kB / 348.2 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/0.1434, allocations: 12 kB / 348.2 MB, free: 15.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004734/0.1439, allocations: 36.16 kB / 348.2 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001229/0.144, allocations: 36.39 kB / 348.3 MB, free: 15.26 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.293e-05/0.144, allocations: 15.94 kB / 348.3 MB, free: 15.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002219/0.1443, allocations: 212.5 kB / 348.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1443, allocations: 0 / 348.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000593/0.1449, allocations: 120 kB / 348.6 MB, free: 14.92 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.0003351/0.1452, allocations: 143.1 kB / 348.7 MB, free: 14.77 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.1463, allocations: 453.9 kB / 349.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.1463, allocations: 384 / 349.2 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.147, allocations: 388.9 kB / 349.6 MB, free: 13.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005783/0.1476, allocations: 44.41 kB / 349.6 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.1495, allocations: 1.125 MB / 350.7 MB, free: 12.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.1499, allocations: 0.7891 MB / 351.5 MB, free: 11.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001661/0.1501, allocations: 47.41 kB / 351.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1501, allocations: 0 / 351.6 MB, free: 11.87 MB / 302.1 MB Notification: Performance of Templates: time 0.009364/0.1595, allocations: 5.688 MB / 357.3 MB, free: 6.176 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches