Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_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_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008469/0.0008471, allocations: 99.12 kB / 17 MB, free: 6.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001004/0.001004, allocations: 197.2 kB / 17.9 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000219/0.000219, allocations: 7.984 kB / 307.1 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09009/0.09033, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002745/0.09311, allocations: 2.416 MB / 361.1 MB, free: 11.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.09481, allocations: 1.204 MB / 362.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.09495, allocations: 7.938 kB / 362.3 MB, free: 9.988 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.09515, allocations: 47.62 kB / 362.3 MB, free: 9.941 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004289/0.09559, allocations: 183 kB / 362.5 MB, free: 9.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.09582, allocations: 103.8 kB / 362.6 MB, free: 9.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000392/0.09622, allocations: 411 kB / 363 MB, free: 9.254 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.09637, allocations: 65.33 kB / 363.1 MB, free: 9.195 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.09662, allocations: 163.5 kB / 363.2 MB, free: 9.035 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002562/0.09688, allocations: 199.3 kB / 363.4 MB, free: 8.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.83e-05/0.09694, allocations: 24 kB / 363.4 MB, free: 8.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000259/0.0972, allocations: 139.9 kB / 363.6 MB, free: 8.68 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.502e-05/0.09729, allocations: 71.72 kB / 363.6 MB, free: 8.609 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.247e-05/0.09736, allocations: 81.52 kB / 363.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.09774, allocations: 379.2 kB / 364.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.09775, allocations: 0 / 364.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09776, allocations: 0 / 364.1 MB, free: 8.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.09777, allocations: 0 / 364.1 MB, free: 8.152 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.001461/0.09924, allocations: 0.6554 MB / 364.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.09928, allocations: 8.031 kB / 364.8 MB, free: 7.441 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.09947, allocations: 59.45 kB / 364.8 MB, free: 7.383 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003869/0.09987, allocations: 324.1 kB / 365.1 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.478e-05/0.09996, allocations: 58.22 kB / 365.2 MB, free: 6.961 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001503/0.1001, allocations: 35.98 kB / 365.2 MB, free: 6.926 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005842/0.1007, allocations: 328.4 kB / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.1007, allocations: 0 / 365.5 MB, free: 6.59 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.12e-05/0.1008, allocations: 12 kB / 365.6 MB, free: 6.578 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.1008, allocations: 8 kB / 365.6 MB, free: 6.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006568/0.1014, allocations: 310 kB / 365.9 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.1031, allocations: 1.164 MB / 367 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005777/0.1037, allocations: 301 kB / 367.3 MB, free: 4.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003314/0.1041, allocations: 181.6 kB / 367.5 MB, free: 4.527 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.1041, allocations: 4 kB / 367.5 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.1041, allocations: 38.52 kB / 367.5 MB, free: 4.477 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.483e-06/0.1042, allocations: 0 / 367.5 MB, free: 4.477 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.00876/0.1129, allocations: 2.538 MB / 370.1 MB, free: 1.863 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/0.113, allocations: 85.05 kB / 370.2 MB, free: 1.762 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003783/0.1134, allocations: 288.9 kB / 370.4 MB, free: 1.465 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.33e-05/0.1134, allocations: 33.7 kB / 370.5 MB, free: 1.426 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/0.1135, allocations: 168.4 kB / 370.6 MB, free: 1.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1136, allocations: 145.9 kB / 370.8 MB, free: 1.113 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.623e-05/0.1137, allocations: 12 kB / 370.8 MB, free: 1.102 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001405/0.1138, allocations: 346.8 kB / 371.1 MB, free: 0.7539 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.1142, allocations: 168.8 kB / 371.3 MB, free: 0.5898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000417/0.1146, allocations: 234.7 kB / 371.5 MB, free: 348 kB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004091/0.1151, allocations: 189.6 kB / 371.7 MB, free: 160 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1151, allocations: 0 / 371.7 MB, free: 160 kB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.1581/0.2731, allocations: 0.4949 MB / 372.2 MB, free: 19.15 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.2732, allocations: 5.938 kB / 372.2 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.736e-06/0.2732, allocations: 2.469 kB / 372.2 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.011e-05/0.2732, allocations: 4.109 kB / 372.2 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006092/0.2738, allocations: 125.9 kB / 372.3 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.2739, allocations: 4.578 kB / 372.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003705/0.2742, allocations: 39.31 kB / 372.4 MB, free: 19.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.623e-05/0.2743, allocations: 21.08 kB / 372.4 MB, free: 19.15 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.2744, allocations: 149.5 kB / 372.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.224e-05/0.2745, allocations: 36.31 kB / 372.6 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001826/0.2764, allocations: 0.6846 MB / 373.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.2764, allocations: 10.73 kB / 373.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.2764, allocations: 0.9688 kB / 373.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.886e-06/0.2764, allocations: 4.156 kB / 373.3 MB, free: 18.98 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/0.2794, allocations: 1.317 MB / 374.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2794, allocations: 0 / 374.6 MB, free: 18.66 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004416/0.2799, allocations: 95.64 kB / 374.7 MB, free: 18.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001607/0.2815, allocations: 291.6 kB / 375 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.608e-05/0.2816, allocations: 11.61 kB / 375 MB, free: 18.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.285, allocations: 2.284 MB / 377.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.285, allocations: 2.078 kB / 377.3 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002059/0.287, allocations: 1.038 MB / 378.3 MB, free: 16.58 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.2872, allocations: 159.4 kB / 378.5 MB, free: 16.45 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.505e-05/0.2873, allocations: 14.77 kB / 378.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004046/0.2877, allocations: 34.86 kB / 378.5 MB, free: 16.43 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.2878, allocations: 34.55 kB / 378.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.462e-05/0.2878, allocations: 18.25 kB / 378.6 MB, free: 16.42 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002178/0.2881, allocations: 215.7 kB / 378.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2881, allocations: 0 / 378.8 MB, free: 16.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000585/0.2887, allocations: 118.2 kB / 378.9 MB, free: 16.27 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 (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.0002209/0.2889, allocations: 138.6 kB / 379 MB, free: 16.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009046/0.2898, allocations: 440.5 kB / 379.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2898, allocations: 0 / 379.5 MB, free: 16.04 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000684/0.2905, allocations: 392.1 kB / 379.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008122/0.2913, allocations: 35.83 kB / 379.9 MB, free: 15.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002541/0.2939, allocations: 1.216 MB / 381.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.2942, allocations: 0.7867 MB / 381.9 MB, free: 14.4 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0003815/0.2946, allocations: 42.22 kB / 381.9 MB, free: 14.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002163/0.2948, allocations: 37.28 kB / 382 MB, free: 14.38 MB / 302.1 MB Notification: Performance of SimCode: time 7.41e-07/0.2948, allocations: 1.406 kB / 382 MB, free: 14.38 MB / 302.1 MB Notification: Performance of Templates: time 0.01645/0.3113, allocations: 5.731 MB / 387.7 MB, free: 12.8 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches