Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008343/0.0008344, allocations: 178.1 kB / 17.36 MB, free: 4.32 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.272/1.272, allocations: 205.6 MB / 223.7 MB, free: 8.961 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007616/0.0007618, allocations: 103 kB / 272.1 MB, free: 8.129 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002472/0.0002474, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2133, allocations: 47.59 MB / 376.6 MB, free: 45.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002726/0.2161, allocations: 2.364 MB / 379 MB, free: 43.76 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.2182, allocations: 1.308 MB / 380.3 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002912/0.2185, allocations: 6.625 kB / 380.3 MB, free: 42.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003116/0.2188, allocations: 60.53 kB / 380.4 MB, free: 42.63 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006334/0.2195, allocations: 189.1 kB / 380.5 MB, free: 42.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.2198, allocations: 105 kB / 380.6 MB, free: 42.39 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00058/0.2204, allocations: 431.2 kB / 381.1 MB, free: 42.15 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.2206, allocations: 77.42 kB / 381.1 MB, free: 42.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003493/0.2209, allocations: 161.1 kB / 381.3 MB, free: 42.03 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003273/0.2213, allocations: 203.4 kB / 381.5 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.473e-05/0.2214, allocations: 21.06 kB / 381.5 MB, free: 41.89 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.2217, allocations: 138.5 kB / 381.6 MB, free: 41.84 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 7.783e-05/0.2218, allocations: 77.98 kB / 381.7 MB, free: 41.77 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001985/0.222, allocations: 194.7 kB / 381.9 MB, free: 41.62 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005323/0.2226, allocations: 493.8 kB / 382.4 MB, free: 41.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.2226, allocations: 1.312 kB / 382.4 MB, free: 41.26 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.2226, allocations: 0 / 382.4 MB, free: 41.26 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/0.2226, allocations: 0 / 382.4 MB, free: 41.26 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.001455/0.2241, allocations: 0.6472 MB / 383 MB, free: 40.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2241, allocations: 9.625 kB / 383.1 MB, free: 40.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.365e-05/0.2242, allocations: 34.25 kB / 383.1 MB, free: 40.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003437/0.2246, allocations: 330.7 kB / 383.4 MB, free: 40.39 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.2246, allocations: 52.44 kB / 383.5 MB, free: 40.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001461/0.2248, allocations: 39.22 kB / 383.5 MB, free: 40.32 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005515/0.2254, allocations: 327.2 kB / 383.8 MB, free: 40.11 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.2254, allocations: 0 / 383.8 MB, free: 40.11 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.995e-05/0.2254, allocations: 10.91 kB / 383.8 MB, free: 40.1 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.2254, allocations: 6.281 kB / 383.8 MB, free: 40.1 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/0.2261, allocations: 319.6 kB / 384.1 MB, free: 39.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.2275, allocations: 1.169 MB / 385.3 MB, free: 38.95 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006288/0.2282, allocations: 306.1 kB / 385.6 MB, free: 38.78 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002978/0.2285, allocations: 171.3 kB / 385.8 MB, free: 38.69 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.2285, allocations: 3.594 kB / 385.8 MB, free: 38.69 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.2285, allocations: 41.06 kB / 385.8 MB, free: 38.64 MB / 298.7 MB Notification: Performance of pre-optimization done (n=31): time 1.443e-06/0.2285, allocations: 0 / 385.8 MB, free: 38.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=42): time 0.008199/0.2367, allocations: 2.532 MB / 388.4 MB, free: 36.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2368, allocations: 81.11 kB / 388.4 MB, free: 36.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002679/0.2371, allocations: 296.9 kB / 388.7 MB, free: 36.05 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.2371, allocations: 33.7 kB / 388.8 MB, free: 36.01 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.918e-05/0.2372, allocations: 160.5 kB / 388.9 MB, free: 35.85 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.863e-05/0.2373, allocations: 149.9 kB / 389.1 MB, free: 35.7 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.358e-05/0.2373, allocations: 8 kB / 389.1 MB, free: 35.7 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.565e-05/0.2374, allocations: 338.8 kB / 389.4 MB, free: 35.36 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003389/0.2377, allocations: 172.8 kB / 389.6 MB, free: 35.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003478/0.2381, allocations: 234.7 kB / 389.8 MB, free: 34.94 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000668/0.2387, allocations: 431.5 kB / 390.2 MB, free: 34.5 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2388, allocations: 0 / 390.2 MB, free: 34.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008101/0.2396, allocations: 0.4889 MB / 390.7 MB, free: 34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.2396, allocations: 4 kB / 390.7 MB, free: 34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.532e-06/0.2396, allocations: 4 kB / 390.7 MB, free: 34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.2396, allocations: 0 / 390.7 MB, free: 34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005696/0.2402, allocations: 139.7 kB / 390.9 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.2402, allocations: 4 kB / 390.9 MB, free: 33.86 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/0.2406, allocations: 35.98 kB / 390.9 MB, free: 33.82 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.177e-05/0.2406, allocations: 19.98 kB / 390.9 MB, free: 33.8 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.0001179/0.2407, allocations: 153.7 kB / 391.1 MB, free: 33.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.046e-05/0.2408, allocations: 31.62 kB / 391.1 MB, free: 33.61 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001586/0.2424, allocations: 0.6876 MB / 391.8 MB, free: 32.91 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.561e-06/0.2424, allocations: 8 kB / 391.8 MB, free: 32.9 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.12e-06/0.2424, allocations: 3.984 kB / 391.8 MB, free: 32.89 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2424, allocations: 0 / 391.8 MB, free: 32.89 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002668/0.2451, allocations: 1.318 MB / 393.1 MB, free: 31.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2451, allocations: 4 kB / 393.1 MB, free: 31.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003977/0.2455, allocations: 91.88 kB / 393.2 MB, free: 31.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00152/0.2471, allocations: 292.5 kB / 393.5 MB, free: 31.14 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.067e-05/0.2471, allocations: 4 kB / 393.5 MB, free: 31.13 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003096/0.2502, allocations: 2.283 MB / 395.8 MB, free: 28.71 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.2502, allocations: 0 / 395.8 MB, free: 28.71 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001979/0.2522, allocations: 1.046 MB / 396.8 MB, free: 27.65 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.2524, allocations: 148.7 kB / 397 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.404e-05/0.2524, allocations: 8 kB / 397 MB, free: 27.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003997/0.2528, allocations: 40.16 kB / 397 MB, free: 27.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001023/0.2529, allocations: 40.31 kB / 397.1 MB, free: 27.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.799e-05/0.253, allocations: 19.94 kB / 397.1 MB, free: 27.38 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000155/0.2531, allocations: 208.5 kB / 397.3 MB, free: 27.18 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2531, allocations: 0 / 397.3 MB, free: 27.18 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004696/0.2536, allocations: 119.9 kB / 397.4 MB, free: 27.06 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.0002138/0.2538, allocations: 143.2 kB / 397.5 MB, free: 26.91 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009312/0.2548, allocations: 454.1 kB / 398 MB, free: 26.46 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2548, allocations: 0 / 398 MB, free: 26.46 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006431/0.2555, allocations: 393.2 kB / 398.4 MB, free: 26.06 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004751/0.2559, allocations: 40.36 kB / 398.4 MB, free: 26.02 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.2573, allocations: 1.221 MB / 399.6 MB, free: 24.78 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001695/0.2575, allocations: 0.7855 MB / 400.4 MB, free: 23.96 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0002062/0.2577, allocations: 34.97 kB / 400.4 MB, free: 23.93 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001246/0.2579, allocations: 43.34 kB / 400.5 MB, free: 23.89 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.2579, allocations: 8 kB / 400.5 MB, free: 23.88 MB / 298.7 MB Notification: Performance of Templates: time 0.008185/0.2661, allocations: 5.88 MB / 406.4 MB, free: 18 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/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