Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002706/0.002711, allocations: 188.1 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.743/3.743, allocations: 205.4 MB / 222.5 MB, free: 13.76 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001672/0.001672, allocations: 86.92 kB / 270.9 MB, free: 13.29 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005968/0.000597, allocations: 12 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.1395, allocations: 47.58 MB / 374.5 MB, free: 15.42 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.005793/0.1454, allocations: 2.252 MB / 376.8 MB, free: 13.15 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.004031/0.1495, allocations: 1.178 MB / 378 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.15, allocations: 7.938 kB / 378 MB, free: 11.96 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000358/0.1503, allocations: 55.66 kB / 378 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001213/0.1516, allocations: 207.3 kB / 378.2 MB, free: 11.7 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005272/0.1521, allocations: 91.81 kB / 378.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.153, allocations: 284 kB / 378.6 MB, free: 11.33 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002917/0.1534, allocations: 65.33 kB / 378.7 MB, free: 11.27 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004873/0.1539, allocations: 163.5 kB / 378.8 MB, free: 11.11 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005442/0.1544, allocations: 199.3 kB / 379 MB, free: 10.92 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 9.93e-05/0.1545, allocations: 24 kB / 379.1 MB, free: 10.89 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006692/0.1552, allocations: 139.9 kB / 379.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000142/0.1554, allocations: 71.72 kB / 379.3 MB, free: 10.69 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.1556, allocations: 77.58 kB / 379.3 MB, free: 10.61 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008589/0.1564, allocations: 371.2 kB / 379.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1565, allocations: 0 / 379.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.1565, allocations: 0 / 379.7 MB, free: 10.24 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.225e-06/0.1565, allocations: 0 / 379.7 MB, free: 10.24 MB / 282.7 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.003176/0.1597, allocations: 0.647 MB / 380.3 MB, free: 9.547 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.1598, allocations: 8.031 kB / 380.4 MB, free: 9.539 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.16, allocations: 39.62 kB / 380.4 MB, free: 9.5 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008944/0.161, allocations: 316.1 kB / 380.7 MB, free: 9.148 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001436/0.1611, allocations: 58.27 kB / 380.8 MB, free: 9.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003535/0.1615, allocations: 35.89 kB / 380.8 MB, free: 9.047 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.1629, allocations: 328.3 kB / 381.1 MB, free: 8.711 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.083e-05/0.163, allocations: 4 kB / 381.1 MB, free: 8.707 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.24e-05/0.1631, allocations: 12 kB / 381.1 MB, free: 8.695 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.146e-05/0.1631, allocations: 8 kB / 381.1 MB, free: 8.688 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001626/0.1648, allocations: 310 kB / 381.4 MB, free: 8.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004075/0.1689, allocations: 1.168 MB / 382.6 MB, free: 7.141 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/0.1704, allocations: 309 kB / 382.9 MB, free: 6.82 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.798e-05/0.1705, allocations: 7.984 kB / 382.9 MB, free: 6.812 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.75e-05/0.1706, allocations: 42.56 kB / 383 MB, free: 6.762 MB / 282.7 MB Notification: Performance of pre-optimization done (n=31): time 4.559e-06/0.1706, allocations: 0 / 383 MB, free: 6.762 MB / 282.7 MB Notification: Performance of matching and sorting (n=42): time 0.02599/0.1966, allocations: 2.534 MB / 385.5 MB, free: 4.152 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001141/0.1968, allocations: 81.11 kB / 385.6 MB, free: 4.055 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009602/0.1978, allocations: 285 kB / 385.8 MB, free: 3.762 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000195/0.1981, allocations: 41.7 kB / 385.9 MB, free: 3.715 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002619/0.1983, allocations: 218.9 kB / 386.1 MB, free: 3.5 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000333/0.1987, allocations: 149.8 kB / 386.2 MB, free: 3.352 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.178e-05/0.1988, allocations: 8 kB / 386.3 MB, free: 3.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002809/0.1991, allocations: 334.7 kB / 386.6 MB, free: 3.008 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001273/0.2004, allocations: 172.8 kB / 386.8 MB, free: 2.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001326/0.2018, allocations: 234.7 kB / 387 MB, free: 2.594 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/0.2032, allocations: 189.6 kB / 387.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.184e-06/0.2033, allocations: 0 / 387.2 MB, free: 2.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.002584/0.2059, allocations: 497.2 kB / 387.7 MB, free: 1.918 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.484e-05/0.206, allocations: 4 kB / 387.7 MB, free: 1.914 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/0.206, allocations: 4 kB / 387.7 MB, free: 1.91 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.771e-05/0.2061, allocations: 4 kB / 387.7 MB, free: 1.906 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.2076, allocations: 123.9 kB / 387.8 MB, free: 1.785 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.78e-05/0.2077, allocations: 4 kB / 387.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/0.2088, allocations: 35.98 kB / 387.8 MB, free: 1.746 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/0.2089, allocations: 15.98 kB / 387.8 MB, free: 1.73 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004358/0.2093, allocations: 157.7 kB / 388 MB, free: 1.566 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.2096, allocations: 27.72 kB / 388 MB, free: 1.539 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004508/0.2141, allocations: 0.6837 MB / 388.7 MB, free: 0.8398 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.578e-05/0.2142, allocations: 8 kB / 388.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.2142, allocations: 0 / 388.7 MB, free: 0.832 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-05/0.2142, allocations: 3.984 kB / 388.7 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4172/0.6315, allocations: 1.313 MB / 390 MB, free: 20.72 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.892e-05/0.6316, allocations: 0.9375 kB / 390 MB, free: 20.72 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/0.6328, allocations: 99.38 kB / 390.1 MB, free: 20.72 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004171/0.637, allocations: 288.7 kB / 390.4 MB, free: 20.71 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001616/0.6372, allocations: 15.22 kB / 390.4 MB, free: 20.71 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01053/0.6478, allocations: 2.325 MB / 392.7 MB, free: 19.4 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/0.6479, allocations: 0 / 392.7 MB, free: 19.4 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006652/0.6545, allocations: 1.06 MB / 393.8 MB, free: 18.92 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005225/0.6551, allocations: 143.5 kB / 393.9 MB, free: 18.8 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001643/0.6553, allocations: 14.58 kB / 394 MB, free: 18.79 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/0.6568, allocations: 33.75 kB / 394 MB, free: 18.79 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000397/0.6572, allocations: 40.17 kB / 394 MB, free: 18.78 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.805e-05/0.6573, allocations: 18.03 kB / 394.1 MB, free: 18.77 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0005799/0.6579, allocations: 207.8 kB / 394.3 MB, free: 18.65 MB / 282.7 MB Notification: Performance of sort global known variables: time 8.52e-07/0.658, allocations: 0 / 394.3 MB, free: 18.65 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.00262/0.6606, allocations: 117.5 kB / 394.4 MB, free: 18.64 MB / 282.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005822/0.6613, allocations: 134.2 kB / 394.5 MB, free: 18.54 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00268/0.664, allocations: 445 kB / 394.9 MB, free: 18.41 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.04e-05/0.6641, allocations: 0 / 394.9 MB, free: 18.41 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001898/0.666, allocations: 398.4 kB / 395.3 MB, free: 18.2 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.6671, allocations: 34 kB / 395.4 MB, free: 18.19 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004137/0.6713, allocations: 1.228 MB / 396.6 MB, free: 17.47 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.6718, allocations: 0.7988 MB / 397.4 MB, free: 16.76 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000448/0.6723, allocations: 44.22 kB / 397.4 MB, free: 16.74 MB / 282.7 MB Notification: Performance of SimCode: time 1.142e-06/0.6723, allocations: 0 / 397.4 MB, free: 16.74 MB / 282.7 MB Notification: Performance of Templates: time 0.02262/0.6949, allocations: 5.55 MB / 403 MB, free: 15.35 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_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_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches