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.0007839/0.000784, allocations: 95.14 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008623/0.0008624, allocations: 200.7 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.322/1.322, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002625/0.0002624, allocations: 8 kB / 308.4 MB, free: 0.7656 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1076, allocations: 51.51 MB / 359.9 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.003362/0.111, allocations: 2.517 MB / 362.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002301/0.1134, allocations: 1.285 MB / 363.7 MB, free: 9.422 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.1137, allocations: 4 kB / 363.7 MB, free: 9.418 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003212/0.1141, allocations: 59.55 kB / 363.8 MB, free: 9.359 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007328/0.1148, allocations: 195 kB / 364 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003366/0.1152, allocations: 111.9 kB / 364.1 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005724/0.1158, allocations: 435 kB / 364.5 MB, free: 8.629 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001802/0.116, allocations: 73.38 kB / 364.6 MB, free: 8.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004404/0.1164, allocations: 167.4 kB / 364.7 MB, free: 8.398 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000421/0.1168, allocations: 203.2 kB / 364.9 MB, free: 8.199 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.381e-05/0.1169, allocations: 20 kB / 365 MB, free: 8.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003499/0.1173, allocations: 139.9 kB / 365.1 MB, free: 8.043 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001409/0.1175, allocations: 83.64 kB / 365.2 MB, free: 7.961 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.1177, allocations: 200.7 kB / 365.4 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.1182, allocations: 370.9 kB / 365.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1182, allocations: 0 / 365.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.1183, allocations: 0 / 365.7 MB, free: 7.395 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1183, allocations: 4 kB / 365.7 MB, free: 7.391 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.001666/0.1199, allocations: 0.6471 MB / 366.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.12, allocations: 16.03 kB / 366.4 MB, free: 6.68 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002515/0.1203, allocations: 48.45 kB / 366.5 MB, free: 6.633 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004676/0.1207, allocations: 333.2 kB / 366.8 MB, free: 6.266 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.411e-05/0.1208, allocations: 50.83 kB / 366.8 MB, free: 6.211 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000175/0.121, allocations: 40.48 kB / 366.9 MB, free: 6.172 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006748/0.1217, allocations: 332.4 kB / 367.2 MB, free: 5.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.819e-05/0.1217, allocations: 3.984 kB / 367.2 MB, free: 5.828 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.1218, allocations: 12 kB / 367.2 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.679e-06/0.1218, allocations: 8 kB / 367.2 MB, free: 5.809 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.1225, allocations: 306 kB / 367.5 MB, free: 5.508 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001785/0.1243, allocations: 1.175 MB / 368.7 MB, free: 4.254 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.1249, allocations: 304 kB / 369 MB, free: 3.941 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003384/0.1253, allocations: 173.6 kB / 369.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.352e-05/0.1253, allocations: 11.94 kB / 369.2 MB, free: 3.754 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.1253, allocations: 30.56 kB / 369.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 1.763e-06/0.1253, allocations: 4 kB / 369.2 MB, free: 3.711 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.01044/0.1358, allocations: 2.534 MB / 371.7 MB, free: 1.102 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.527e-05/0.1359, allocations: 81.11 kB / 371.8 MB, free: 1.004 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004596/0.1363, allocations: 292.9 kB / 372.1 MB, free: 0.7031 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.1364, allocations: 33.7 kB / 372.1 MB, free: 0.6641 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1365, allocations: 172.4 kB / 372.3 MB, free: 0.4922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1367, allocations: 145.8 kB / 372.4 MB, free: 356 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.085e-05/0.1367, allocations: 37.7 kB / 372.5 MB, free: 312 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.2012/0.338, allocations: 340.8 kB / 372.8 MB, free: 19.21 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008639/0.3389, allocations: 170.5 kB / 373 MB, free: 19.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007911/0.3397, allocations: 241.3 kB / 373.2 MB, free: 19.14 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3411, allocations: 429.7 kB / 373.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.3411, allocations: 3.828 kB / 373.6 MB, free: 19.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001704/0.3428, allocations: 0.4955 MB / 374.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.3429, allocations: 6.156 kB / 374.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.3429, allocations: 2.156 kB / 374.1 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.3429, allocations: 8.609 kB / 374.2 MB, free: 19.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008515/0.3438, allocations: 121.5 kB / 374.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.523e-05/0.3438, allocations: 8.188 kB / 374.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005357/0.3443, allocations: 40.39 kB / 374.3 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.3445, allocations: 18.22 kB / 374.3 MB, free: 19.04 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003014/0.3448, allocations: 147 kB / 374.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001244/0.3449, allocations: 31.95 kB / 374.5 MB, free: 18.93 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002881/0.3478, allocations: 0.6899 MB / 375.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.056e-05/0.3478, allocations: 5.219 kB / 375.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.508e-05/0.3479, allocations: 1.25 kB / 375.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.111e-05/0.3479, allocations: 10.58 kB / 375.2 MB, free: 18.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003914/0.3518, allocations: 1.317 MB / 376.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.3519, allocations: 4.5 kB / 376.5 MB, free: 18.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004593/0.3523, allocations: 92.58 kB / 376.6 MB, free: 18.41 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001922/0.3543, allocations: 290.5 kB / 376.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.125e-05/0.3543, allocations: 8.094 kB / 376.9 MB, free: 18.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003953/0.3583, allocations: 2.281 MB / 379.2 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.3583, allocations: 5.094 kB / 379.2 MB, free: 16.63 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00253/0.3608, allocations: 1.06 MB / 380.3 MB, free: 16.12 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001978/0.361, allocations: 148.9 kB / 380.4 MB, free: 16.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.149e-05/0.3611, allocations: 9.703 kB / 380.4 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/0.3616, allocations: 33.41 kB / 380.5 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.3618, allocations: 36.66 kB / 380.5 MB, free: 15.99 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.486e-05/0.3618, allocations: 21.97 kB / 380.5 MB, free: 15.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002387/0.3621, allocations: 213.6 kB / 380.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3621, allocations: 1.062 kB / 380.7 MB, free: 15.86 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006247/0.3627, allocations: 110.8 kB / 380.8 MB, free: 15.84 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.000306/0.363, allocations: 149.1 kB / 381 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.3641, allocations: 451.2 kB / 381.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3641, allocations: 1.656 kB / 381.4 MB, free: 15.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007121/0.3648, allocations: 390.5 kB / 381.8 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005504/0.3653, allocations: 40.7 kB / 381.8 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001937/0.3673, allocations: 1.25 MB / 383.1 MB, free: 14.6 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.3676, allocations: 0.7927 MB / 383.9 MB, free: 13.89 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.3678, allocations: 42.78 kB / 383.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3678, allocations: 1 kB / 383.9 MB, free: 13.88 MB / 302.1 MB Notification: Performance of Templates: time 0.01174/0.3796, allocations: 5.689 MB / 389.6 MB, free: 12.14 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","/var/lib/jenkins1/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