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/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_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/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 187 kB / 17.92 MB, free: 3.855 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.201/1.201, allocations: 205.1 MB / 223.7 MB, free: 8.48 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.0009159/0.0009159, allocations: 108.9 kB / 271.2 MB, free: 8.434 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000735/0.000735, allocations: 31.95 kB / 327.2 MB, free: 320 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1948, allocations: 46.63 MB / 373.8 MB, free: 45.68 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003432/0.1982, allocations: 2.804 MB / 376.6 MB, free: 43.64 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.1998, allocations: 1.286 MB / 377.9 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.2, allocations: 3.25 kB / 377.9 MB, free: 42.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.2002, allocations: 65.09 kB / 378 MB, free: 42.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003859/0.2006, allocations: 189.6 kB / 378.2 MB, free: 42.4 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000176/0.2008, allocations: 96.08 kB / 378.3 MB, free: 42.32 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003139/0.2011, allocations: 439.2 kB / 378.7 MB, free: 42.07 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.2013, allocations: 77.34 kB / 378.8 MB, free: 42.04 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001861/0.2015, allocations: 171.3 kB / 378.9 MB, free: 41.95 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/0.2017, allocations: 203.1 kB / 379.1 MB, free: 41.81 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.486e-05/0.2017, allocations: 25.38 kB / 379.2 MB, free: 41.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002364/0.202, allocations: 148.9 kB / 379.3 MB, free: 41.75 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.751e-05/0.202, allocations: 81.08 kB / 379.4 MB, free: 41.68 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.2022, allocations: 170.7 kB / 379.6 MB, free: 41.56 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003802/0.2026, allocations: 492.7 kB / 380 MB, free: 41.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2026, allocations: 4.875 kB / 380 MB, free: 41.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.2026, allocations: 3.938 kB / 380 MB, free: 41.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.2026, allocations: 0 / 380 MB, free: 41.18 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.001361/0.204, allocations: 0.7022 MB / 380.8 MB, free: 40.6 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.204, allocations: 17.03 kB / 380.8 MB, free: 40.59 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/0.2041, allocations: 38.39 kB / 380.8 MB, free: 40.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.2044, allocations: 326.8 kB / 381.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.335e-05/0.2045, allocations: 48.27 kB / 381.2 MB, free: 40.22 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001343/0.2046, allocations: 39.33 kB / 381.2 MB, free: 40.2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004937/0.2051, allocations: 326.4 kB / 381.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.2051, allocations: 1.094 kB / 381.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.595e-05/0.2052, allocations: 10.41 kB / 381.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.2052, allocations: 6.781 kB / 381.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005819/0.2058, allocations: 304.2 kB / 381.8 MB, free: 39.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001329/0.2071, allocations: 1.165 MB / 383 MB, free: 38.83 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005413/0.2077, allocations: 291.3 kB / 383.3 MB, free: 38.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002754/0.208, allocations: 169.3 kB / 383.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.637e-05/0.208, allocations: 11.66 kB / 383.5 MB, free: 38.56 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.654e-05/0.208, allocations: 39.78 kB / 383.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.953e-06/0.208, allocations: 1.281 kB / 383.5 MB, free: 38.51 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.008235/0.2163, allocations: 2.407 MB / 385.9 MB, free: 37.11 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.2163, allocations: 89.05 kB / 386 MB, free: 37.01 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002606/0.2166, allocations: 293 kB / 386.3 MB, free: 36.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.697e-05/0.2166, allocations: 33.7 kB / 386.3 MB, free: 36.67 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.032e-05/0.2167, allocations: 168.4 kB / 386.5 MB, free: 36.5 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.847e-05/0.2168, allocations: 141.9 kB / 386.6 MB, free: 36.36 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/0.2169, allocations: 82.09 kB / 386.7 MB, free: 36.27 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.86e-05/0.2169, allocations: 338.8 kB / 387 MB, free: 35.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/0.2173, allocations: 160.8 kB / 387.2 MB, free: 35.78 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.2176, allocations: 226.7 kB / 387.4 MB, free: 35.53 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006552/0.2183, allocations: 411.5 kB / 387.8 MB, free: 35.11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.2183, allocations: 8 kB / 387.8 MB, free: 35.1 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008224/0.2191, allocations: 476.5 kB / 388.3 MB, free: 34.63 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.2192, allocations: 10.03 kB / 388.3 MB, free: 34.62 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.766e-06/0.2192, allocations: 8.109 kB / 388.3 MB, free: 34.61 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.2192, allocations: 8 kB / 388.3 MB, free: 34.61 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005446/0.2197, allocations: 115.8 kB / 388.4 MB, free: 34.49 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.2198, allocations: 4 kB / 388.4 MB, free: 34.49 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003574/0.2201, allocations: 31.98 kB / 388.5 MB, free: 34.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.2202, allocations: 19.98 kB / 388.5 MB, free: 34.44 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001236/0.2203, allocations: 153.7 kB / 388.6 MB, free: 34.28 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.2204, allocations: 35.61 kB / 388.7 MB, free: 34.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001563/0.222, allocations: 0.6563 MB / 389.3 MB, free: 33.58 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/0.222, allocations: 8 kB / 389.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.222, allocations: 3.938 kB / 389.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.222, allocations: 0 / 389.3 MB, free: 33.57 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002579/0.2246, allocations: 1.271 MB / 390.6 MB, free: 32.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.2246, allocations: 3.938 kB / 390.6 MB, free: 32.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003847/0.225, allocations: 95.88 kB / 390.7 MB, free: 32.14 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001404/0.2264, allocations: 268.6 kB / 391 MB, free: 31.87 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.708e-05/0.2264, allocations: 11.98 kB / 391 MB, free: 31.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002992/0.2294, allocations: 2.209 MB / 393.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2295, allocations: 0 / 393.2 MB, free: 29.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02111/0.2506, allocations: 8.687 MB / 401.9 MB, free: 20.53 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.2507, allocations: 148.7 kB / 402 MB, free: 20.37 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.744e-05/0.2508, allocations: 8 kB / 402 MB, free: 20.36 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004037/0.2512, allocations: 28.05 kB / 402.1 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001372/0.2513, allocations: 40.31 kB / 402.1 MB, free: 20.29 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/0.2514, allocations: 16 kB / 402.1 MB, free: 20.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.2516, allocations: 212.5 kB / 402.3 MB, free: 20.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2516, allocations: 0 / 402.3 MB, free: 20.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0006528/0.2522, allocations: 168 kB / 402.5 MB, free: 19.9 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 (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.0002115/0.2524, allocations: 151.3 kB / 402.6 MB, free: 19.75 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000768/0.2532, allocations: 434.4 kB / 403.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.2532, allocations: 0 / 403.1 MB, free: 19.32 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005336/0.2538, allocations: 380.9 kB / 403.4 MB, free: 18.94 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.2542, allocations: 38.14 kB / 403.5 MB, free: 18.9 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001865/0.2561, allocations: 1.595 MB / 405.1 MB, free: 17.25 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.2563, allocations: 0.8131 MB / 405.9 MB, free: 16.42 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002403/0.2565, allocations: 50.94 kB / 405.9 MB, free: 16.37 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001527/0.2567, allocations: 35.42 kB / 406 MB, free: 16.33 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2567, allocations: 0 / 406 MB, free: 16.33 MB / 298.7 MB Notification: Performance of Templates: time 0.01059/0.2673, allocations: 9.036 MB / 415 MB, free: 7.312 MB / 298.7 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/jenkins/ws/OpenModelicaLibraryTestingWork@2/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