Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009412/0.0009412, allocations: 198 kB / 18.07 MB, free: 3.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.251/1.251, allocations: 226.5 MB / 245.4 MB, free: 8.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007449/0.0007445, allocations: 105.2 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002103/0.0002104, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.227, allocations: 51.28 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.3425, allocations: 89.75 MB / 498.4 MB, free: 1.832 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/0.3428, allocations: 91.94 kB / 498.5 MB, free: 1.742 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03092/0.3737, allocations: 9.605 MB / 0.4962 GB, free: 8.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3738, allocations: 0 / 0.4962 GB, free: 8.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.3738, allocations: 8 kB / 0.4962 GB, free: 8.082 MB / 378.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.001463/0.3753, allocations: 0.6396 MB / 0.4968 GB, free: 7.391 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.773e-05/0.3753, allocations: 12.03 kB / 0.4968 GB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002911/0.3756, allocations: 48.55 kB / 0.4969 GB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.3762, allocations: 333.2 kB / 0.4972 GB, free: 6.961 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.545e-05/0.3763, allocations: 50.83 kB / 0.4973 GB, free: 6.906 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001573/0.3765, allocations: 36.73 kB / 0.4973 GB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007295/0.3772, allocations: 328.5 kB / 0.4976 GB, free: 6.539 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.918e-05/0.3772, allocations: 4 kB / 0.4976 GB, free: 6.535 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.575e-05/0.3773, allocations: 11.98 kB / 0.4976 GB, free: 6.523 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.612e-05/0.3773, allocations: 8 kB / 0.4976 GB, free: 6.516 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007014/0.378, allocations: 298.1 kB / 0.4979 GB, free: 6.227 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.38, allocations: 1.179 MB / 0.4991 GB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006861/0.3807, allocations: 307.3 kB / 0.4994 GB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003472/0.3811, allocations: 169.6 kB / 0.4995 GB, free: 4.48 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.128e-05/0.3812, allocations: 4 kB / 0.4995 GB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.084e-05/0.3812, allocations: 42.5 kB / 0.4996 GB, free: 4.426 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 2.514e-06/0.3812, allocations: 0 / 0.4996 GB, free: 4.426 MB / 378.7 MB Notification: Performance of matching and sorting (n=42): time 0.01158/0.3928, allocations: 2.825 MB / 0.5023 GB, free: 1.527 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.395e-05/0.3929, allocations: 89.03 kB / 0.5024 GB, free: 1.422 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004099/0.3933, allocations: 296.9 kB / 0.5027 GB, free: 1.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.412e-05/0.3933, allocations: 29.7 kB / 0.5027 GB, free: 1.09 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3935, allocations: 164.5 kB / 0.5029 GB, free: 0.9258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001161/0.3936, allocations: 145.8 kB / 0.503 GB, free: 0.7812 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.4e-05/0.3936, allocations: 8 kB / 0.503 GB, free: 0.7734 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3938, allocations: 342.8 kB / 0.5033 GB, free: 440 kB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004136/0.3942, allocations: 172.8 kB / 0.5035 GB, free: 268 kB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004468/0.3947, allocations: 229.8 kB / 0.5037 GB, free: 16 kB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1893/0.5839, allocations: 404.8 kB / 0.5041 GB, free: 95.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/0.584, allocations: 0 / 0.5041 GB, free: 95.63 MB / 378.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001282/0.5853, allocations: 0.4933 MB / 0.5046 GB, free: 95.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.593e-05/0.5853, allocations: 7.594 kB / 0.5046 GB, free: 95.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.5854, allocations: 2.109 kB / 0.5046 GB, free: 95.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.5854, allocations: 3.875 kB / 0.5046 GB, free: 95.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007013/0.5861, allocations: 119.3 kB / 0.5047 GB, free: 95.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.366e-05/0.5861, allocations: 11.16 kB / 0.5047 GB, free: 95.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.5866, allocations: 40.11 kB / 0.5048 GB, free: 95.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-05/0.5867, allocations: 17.66 kB / 0.5048 GB, free: 95.59 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (51): * Single equations (assignments): 51 * 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.0002032/0.5869, allocations: 149.9 kB / 0.5049 GB, free: 95.48 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.587, allocations: 36.31 kB / 0.505 GB, free: 95.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.5896, allocations: 0.7262 MB / 0.5057 GB, free: 95.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.745e-06/0.5896, allocations: 4.125 kB / 0.5057 GB, free: 95.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.5896, allocations: 5.969 kB / 0.5057 GB, free: 95.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.5896, allocations: 3.672 kB / 0.5057 GB, free: 95.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003435/0.5931, allocations: 1.314 MB / 0.507 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.5931, allocations: 3.938 kB / 0.507 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.5936, allocations: 95.62 kB / 0.5071 GB, free: 95.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001754/0.5954, allocations: 290.6 kB / 0.5073 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.812e-05/0.5954, allocations: 15.8 kB / 0.5074 GB, free: 95.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003995/0.5994, allocations: 2.261 MB / 0.5096 GB, free: 93.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5995, allocations: 5.25 kB / 0.5096 GB, free: 93.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002357/0.6018, allocations: 1.047 MB / 0.5106 GB, free: 93.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001959/0.6021, allocations: 142.8 kB / 0.5107 GB, free: 93.08 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.813e-05/0.6021, allocations: 21.66 kB / 0.5108 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004257/0.6026, allocations: 31.7 kB / 0.5108 GB, free: 93.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001278/0.6027, allocations: 40.12 kB / 0.5108 GB, free: 93.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.151e-05/0.6028, allocations: 12.53 kB / 0.5108 GB, free: 93.05 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002064/0.603, allocations: 209.3 kB / 0.511 GB, free: 92.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.603, allocations: 3.812 kB / 0.511 GB, free: 92.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006231/0.6036, allocations: 126.1 kB / 0.5112 GB, free: 92.91 MB / 378.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.0002708/0.6039, allocations: 167.1 kB / 0.5113 GB, free: 92.82 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008976/0.6048, allocations: 442.5 kB / 0.5117 GB, free: 92.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.6048, allocations: 0.9844 kB / 0.5117 GB, free: 92.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006235/0.6054, allocations: 396 kB / 0.5121 GB, free: 92.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005275/0.606, allocations: 43.28 kB / 0.5122 GB, free: 92.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.6077, allocations: 1.242 MB / 0.5134 GB, free: 91.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002244/0.6079, allocations: 0.7887 MB / 0.5141 GB, free: 91.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.6081, allocations: 42.62 kB / 0.5142 GB, free: 91.02 MB / 378.7 MB Notification: Performance of SimCode: time 5.31e-07/0.6081, allocations: 0 / 0.5142 GB, free: 91.02 MB / 378.7 MB Notification: Performance of Templates: time 0.006986/0.6151, allocations: 5.741 MB / 0.5198 GB, free: 90.29 MB / 378.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches