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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 107.3 kB / 18.36 MB, free: 4.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001764/0.001764, allocations: 192 kB / 19.29 MB, free: 3.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.376/1.376, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 51.92 kB / 282.1 MB, free: 2.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08728/0.08847, allocations: 46.63 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003897/0.09241, allocations: 2.75 MB / 331.5 MB, free: 1.004 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001811/0.09424, allocations: 1.282 MB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001296/0.09439, allocations: 4 kB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002647/0.09466, allocations: 71.41 kB / 332.8 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004893/0.09516, allocations: 226.7 kB / 333.1 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002255/0.0954, allocations: 119.8 kB / 333.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004331/0.09584, allocations: 463 kB / 333.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.09601, allocations: 80.66 kB / 333.7 MB, free: 14.77 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002372/0.09625, allocations: 183.4 kB / 333.9 MB, free: 14.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002876/0.09655, allocations: 223.1 kB / 334.1 MB, free: 14.37 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/0.09661, allocations: 43.94 kB / 334.2 MB, free: 14.33 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002725/0.09689, allocations: 163.9 kB / 334.3 MB, free: 14.17 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.48e-05/0.09699, allocations: 95.7 kB / 334.4 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001669/0.09717, allocations: 187.1 kB / 334.6 MB, free: 13.89 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000546/0.09772, allocations: 0.4945 MB / 335.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.09773, allocations: 0 / 335.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.09774, allocations: 4 kB / 335.1 MB, free: 13.39 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.09775, allocations: 0 / 335.1 MB, free: 13.39 MB / 286.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.001684/0.09944, allocations: 0.7016 MB / 335.8 MB, free: 12.64 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.09948, allocations: 12.03 kB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.944e-05/0.09957, allocations: 32.56 kB / 335.8 MB, free: 12.6 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000443/0.1, allocations: 337 kB / 336.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.011e-05/0.1001, allocations: 46.83 kB / 336.2 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.1003, allocations: 40.48 kB / 336.2 MB, free: 12.13 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006839/0.1009, allocations: 328.4 kB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.101, allocations: 0 / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.268e-05/0.101, allocations: 12 kB / 336.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.101, allocations: 4 kB / 336.6 MB, free: 11.79 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006455/0.1017, allocations: 302 kB / 336.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.1034, allocations: 1.163 MB / 338 MB, free: 10.25 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005915/0.104, allocations: 285.1 kB / 338.3 MB, free: 9.953 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003459/0.1044, allocations: 173.6 kB / 338.5 MB, free: 9.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.051e-05/0.1044, allocations: 7.984 kB / 338.5 MB, free: 9.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.1044, allocations: 30.56 kB / 338.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of pre-optimization done (n=31): time 1.533e-06/0.1044, allocations: 0 / 338.5 MB, free: 9.73 MB / 286.1 MB Notification: Performance of matching and sorting (n=42): time 0.009043/0.1135, allocations: 2.412 MB / 340.9 MB, free: 7.242 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.778e-05/0.1136, allocations: 85.05 kB / 341 MB, free: 7.141 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000341/0.1139, allocations: 292.9 kB / 341.3 MB, free: 6.84 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.647e-05/0.114, allocations: 33.7 kB / 341.3 MB, free: 6.801 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.1141, allocations: 168.4 kB / 341.5 MB, free: 6.633 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.1142, allocations: 149.8 kB / 341.7 MB, free: 6.484 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001444/0.1143, allocations: 81.95 kB / 341.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.1145, allocations: 342.8 kB / 342.1 MB, free: 6.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.1149, allocations: 160.8 kB / 342.2 MB, free: 5.898 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.1153, allocations: 234.6 kB / 342.5 MB, free: 5.652 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008839/0.1162, allocations: 403.6 kB / 342.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1162, allocations: 0 / 342.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009711/0.1172, allocations: 492.5 kB / 343.3 MB, free: 4.75 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.1172, allocations: 4 kB / 343.3 MB, free: 4.746 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/0.1172, allocations: 7.984 kB / 343.3 MB, free: 4.738 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1172, allocations: 4 kB / 343.3 MB, free: 4.734 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008527/0.1181, allocations: 116 kB / 343.5 MB, free: 4.621 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.16e-05/0.1181, allocations: 4 kB / 343.5 MB, free: 4.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005132/0.1186, allocations: 35.91 kB / 343.5 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.172e-05/0.1187, allocations: 23.92 kB / 343.5 MB, free: 4.559 MB / 286.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002383/0.119, allocations: 153.7 kB / 343.7 MB, free: 4.398 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/0.1191, allocations: 35.62 kB / 343.7 MB, free: 4.363 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002445/0.1216, allocations: 0.6447 MB / 344.4 MB, free: 3.703 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.704e-06/0.1216, allocations: 4 kB / 344.4 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1216, allocations: 0 / 344.4 MB, free: 3.699 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.248e-06/0.1216, allocations: 3.984 kB / 344.4 MB, free: 3.695 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004215/0.1258, allocations: 1.287 MB / 345.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.1259, allocations: 0 / 345.6 MB, free: 2.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006195/0.1265, allocations: 87.89 kB / 345.7 MB, free: 2.262 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00203/0.1285, allocations: 272.5 kB / 346 MB, free: 1.992 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.765e-05/0.1286, allocations: 8 kB / 346 MB, free: 1.984 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005482/0.1341, allocations: 2.443 MB / 348.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1341, allocations: 0 / 348.4 MB, free: 15.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002893/0.137, allocations: 1.015 MB / 349.5 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001982/0.1372, allocations: 148.7 kB / 349.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.084e-05/0.1373, allocations: 16 kB / 349.6 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.1378, allocations: 31.97 kB / 349.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.1379, allocations: 36.39 kB / 349.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.7e-05/0.138, allocations: 15.98 kB / 349.7 MB, free: 14.11 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002079/0.1382, allocations: 208.5 kB / 349.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1382, allocations: 0 / 349.9 MB, free: 13.9 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005423/0.1387, allocations: 120 kB / 350 MB, free: 13.79 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 (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.0002425/0.139, allocations: 139.2 kB / 350.2 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001219/0.1402, allocations: 430.4 kB / 350.6 MB, free: 13.22 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1402, allocations: 4.062 kB / 350.6 MB, free: 13.21 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009823/0.1412, allocations: 392.8 kB / 351 MB, free: 12.81 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007247/0.142, allocations: 32.42 kB / 351 MB, free: 12.78 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00243/0.1444, allocations: 0.9711 MB / 352 MB, free: 11.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/0.1448, allocations: 0.7891 MB / 352.8 MB, free: 10.96 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002761/0.1451, allocations: 42.91 kB / 352.8 MB, free: 10.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00019/0.1453, allocations: 35.41 kB / 352.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1453, allocations: 0 / 352.8 MB, free: 10.89 MB / 302.1 MB Notification: Performance of Templates: time 0.01605/0.1614, allocations: 6.348 MB / 359.2 MB, free: 4.539 MB / 302.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches