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.0009273/0.0009274, allocations: 173.7 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.332/1.332, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007952/0.0007952, allocations: 93.31 kB / 271.2 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003572/0.0003577, allocations: 8 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2328, allocations: 47.58 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002677/0.2355, allocations: 2.355 MB / 377.5 MB, free: 43.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001831/0.2374, allocations: 1.191 MB / 378.7 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001904/0.2376, allocations: 3.844 kB / 378.7 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002212/0.2378, allocations: 50.55 kB / 378.7 MB, free: 42.56 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005086/0.2384, allocations: 181.3 kB / 378.9 MB, free: 42.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.2386, allocations: 95.84 kB / 379 MB, free: 42.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004083/0.239, allocations: 404.7 kB / 379.4 MB, free: 42.1 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001642/0.2392, allocations: 76.47 kB / 379.4 MB, free: 42.06 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002145/0.2394, allocations: 157.5 kB / 379.6 MB, free: 41.98 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002314/0.2397, allocations: 201.3 kB / 379.8 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.2397, allocations: 23.62 kB / 379.8 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002631/0.24, allocations: 137.7 kB / 380 MB, free: 41.79 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.763e-05/0.2401, allocations: 73.92 kB / 380 MB, free: 41.72 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.2402, allocations: 187.9 kB / 380.2 MB, free: 41.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003066/0.2405, allocations: 374 kB / 380.6 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2405, allocations: 0.9688 kB / 380.6 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.2405, allocations: 0 / 380.6 MB, free: 41.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.991e-06/0.2406, allocations: 0 / 380.6 MB, free: 41.3 MB / 298.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.001358/0.2419, allocations: 0.6433 MB / 381.2 MB, free: 40.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.737e-05/0.242, allocations: 13.77 kB / 381.2 MB, free: 40.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.91e-05/0.2421, allocations: 35.09 kB / 381.3 MB, free: 40.75 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003778/0.2425, allocations: 329.8 kB / 381.6 MB, free: 40.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.189e-05/0.2425, allocations: 57.25 kB / 381.6 MB, free: 40.38 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002125/0.2428, allocations: 35.19 kB / 381.7 MB, free: 40.37 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.2434, allocations: 326.1 kB / 382 MB, free: 40.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.2434, allocations: 5.469 kB / 382 MB, free: 40.15 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.2435, allocations: 10.72 kB / 382 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/0.2435, allocations: 10.22 kB / 382 MB, free: 40.14 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.2441, allocations: 309.8 kB / 382.3 MB, free: 40 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.2458, allocations: 1.178 MB / 383.5 MB, free: 38.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005499/0.2464, allocations: 300.2 kB / 383.8 MB, free: 38.82 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003269/0.2467, allocations: 173.5 kB / 384 MB, free: 38.73 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.858e-05/0.2468, allocations: 3 kB / 384 MB, free: 38.73 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.756e-05/0.2468, allocations: 37.06 kB / 384 MB, free: 38.68 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/0.2468, allocations: 0 / 384 MB, free: 38.68 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.008666/0.2555, allocations: 2.532 MB / 386.5 MB, free: 36.96 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.84e-05/0.2555, allocations: 81.11 kB / 386.6 MB, free: 36.87 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002799/0.2558, allocations: 292.9 kB / 386.9 MB, free: 36.57 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.155e-05/0.2559, allocations: 33.69 kB / 386.9 MB, free: 36.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.397e-05/0.2559, allocations: 160.5 kB / 387.1 MB, free: 36.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.951e-05/0.256, allocations: 145.8 kB / 387.2 MB, free: 36.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.2561, allocations: 11.94 kB / 387.2 MB, free: 36.21 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.2561, allocations: 346.8 kB / 387.6 MB, free: 35.87 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.2565, allocations: 168.8 kB / 387.7 MB, free: 35.7 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.2568, allocations: 238.7 kB / 388 MB, free: 35.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006896/0.2575, allocations: 419.6 kB / 388.4 MB, free: 35.02 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2575, allocations: 3.984 kB / 388.4 MB, free: 35.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008765/0.2584, allocations: 0.4967 MB / 388.9 MB, free: 34.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.587e-05/0.2584, allocations: 8 kB / 388.9 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2585, allocations: 7.938 kB / 388.9 MB, free: 34.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.2585, allocations: 4 kB / 388.9 MB, free: 34.49 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005812/0.2591, allocations: 119.8 kB / 389 MB, free: 34.38 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.244e-05/0.2591, allocations: 4 kB / 389 MB, free: 34.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003689/0.2595, allocations: 39.98 kB / 389.1 MB, free: 34.33 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.2595, allocations: 23.92 kB / 389.1 MB, free: 34.31 MB / 298.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.0001374/0.2596, allocations: 149.7 kB / 389.2 MB, free: 34.15 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.682e-05/0.2597, allocations: 31.62 kB / 389.3 MB, free: 34.12 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001613/0.2613, allocations: 0.6838 MB / 390 MB, free: 33.43 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.2614, allocations: 8 kB / 390 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.2614, allocations: 0 / 390 MB, free: 33.42 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.632e-06/0.2614, allocations: 3.984 kB / 390 MB, free: 33.41 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002721/0.2641, allocations: 1.329 MB / 391.3 MB, free: 32.03 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2641, allocations: 0 / 391.3 MB, free: 32.03 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004014/0.2645, allocations: 91.88 kB / 391.4 MB, free: 31.94 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00156/0.2661, allocations: 292.5 kB / 391.7 MB, free: 31.65 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.2662, allocations: 12 kB / 391.7 MB, free: 31.64 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.2695, allocations: 2.272 MB / 394 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.2695, allocations: 0 / 394 MB, free: 29.23 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002033/0.2715, allocations: 1.045 MB / 395 MB, free: 28.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/0.2717, allocations: 152.8 kB / 395.2 MB, free: 28 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.132e-05/0.2718, allocations: 12 kB / 395.2 MB, free: 27.98 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004094/0.2722, allocations: 35.91 kB / 395.2 MB, free: 27.95 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/0.2723, allocations: 36.38 kB / 395.2 MB, free: 27.91 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-05/0.2723, allocations: 16 kB / 395.2 MB, free: 27.9 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001717/0.2725, allocations: 208.5 kB / 395.5 MB, free: 27.7 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2725, allocations: 4 kB / 395.5 MB, free: 27.69 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005191/0.273, allocations: 116 kB / 395.6 MB, free: 27.58 MB / 298.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.0002404/0.2733, allocations: 143.1 kB / 395.7 MB, free: 27.43 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008106/0.2741, allocations: 454.3 kB / 396.2 MB, free: 26.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2741, allocations: 0 / 396.2 MB, free: 26.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006015/0.2747, allocations: 389 kB / 396.5 MB, free: 26.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.2752, allocations: 53.75 kB / 396.6 MB, free: 26.54 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001506/0.2767, allocations: 1.24 MB / 397.8 MB, free: 25.27 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002271/0.277, allocations: 0.7894 MB / 398.6 MB, free: 24.45 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001477/0.2771, allocations: 35.41 kB / 398.6 MB, free: 24.42 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2772, allocations: 0 / 398.6 MB, free: 24.42 MB / 298.7 MB Notification: Performance of Templates: time 0.007221/0.2844, allocations: 5.675 MB / 404.3 MB, free: 18.75 MB / 298.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/jenkins/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