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.001052/0.001053, allocations: 95.08 kB / 16.98 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001461/0.001461, allocations: 199 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.275/1.275, allocations: 227.2 MB / 245.9 MB, free: 12.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002247/0.0002247, allocations: 11.98 kB / 306.6 MB, free: 1.652 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1041, allocations: 51.47 MB / 358.1 MB, free: 14.17 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis): time 0.002814/0.107, allocations: 2.311 MB / 360.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001718/0.1087, allocations: 1.189 MB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001203/0.1089, allocations: 4 kB / 361.6 MB, free: 10.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001602/0.109, allocations: 55.55 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004481/0.1095, allocations: 211.3 kB / 361.8 MB, free: 10.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.1097, allocations: 91.83 kB / 361.9 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003416/0.11, allocations: 280 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001666/0.1102, allocations: 69.31 kB / 362.3 MB, free: 9.957 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002355/0.1105, allocations: 155.5 kB / 362.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003103/0.1108, allocations: 199.3 kB / 362.6 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.48e-05/0.1108, allocations: 24 kB / 362.6 MB, free: 9.586 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.1111, allocations: 143.9 kB / 362.8 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 7.331e-05/0.1112, allocations: 79.7 kB / 362.8 MB, free: 9.367 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001391/0.1113, allocations: 81.58 kB / 362.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.1117, allocations: 363.2 kB / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1117, allocations: 0 / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1118, allocations: 0 / 363.3 MB, free: 8.926 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.019e-06/0.1118, allocations: 0 / 363.3 MB, free: 8.926 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.001478/0.1132, allocations: 0.6625 MB / 363.9 MB, free: 8.215 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.1133, allocations: 8.031 kB / 364 MB, free: 8.207 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001982/0.1135, allocations: 51.52 kB / 364 MB, free: 8.156 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004017/0.1139, allocations: 316.2 kB / 364.3 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.346e-05/0.114, allocations: 54.22 kB / 364.4 MB, free: 7.746 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.1142, allocations: 43.89 kB / 364.4 MB, free: 7.703 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005706/0.1147, allocations: 324.4 kB / 364.7 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.459e-05/0.1148, allocations: 4 kB / 364.7 MB, free: 7.363 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.003e-05/0.1148, allocations: 4 kB / 364.7 MB, free: 7.359 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.1148, allocations: 8 kB / 364.7 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006498/0.1155, allocations: 314 kB / 365 MB, free: 7.047 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001776/0.1173, allocations: 1.164 MB / 366.2 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005818/0.1179, allocations: 301 kB / 366.5 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1179, allocations: 7.953 kB / 366.5 MB, free: 5.484 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.519e-05/0.1179, allocations: 42.55 kB / 366.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of pre-optimization done (n=31): time 2.003e-06/0.1179, allocations: 0 / 366.6 MB, free: 5.434 MB / 302.1 MB Notification: Performance of matching and sorting (n=42): time 0.009152/0.1271, allocations: 2.53 MB / 369.1 MB, free: 2.828 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.1271, allocations: 81.11 kB / 369.2 MB, free: 2.73 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003068/0.1275, allocations: 284.9 kB / 369.4 MB, free: 2.438 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.703e-05/0.1275, allocations: 33.7 kB / 369.5 MB, free: 2.398 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.757e-05/0.1276, allocations: 176.4 kB / 369.6 MB, free: 2.223 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.1277, allocations: 145.8 kB / 369.8 MB, free: 2.078 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.601e-05/0.1278, allocations: 8 kB / 369.8 MB, free: 2.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001188/0.1279, allocations: 346.8 kB / 370.1 MB, free: 1.723 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.1283, allocations: 168.7 kB / 370.3 MB, free: 1.559 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004221/0.1287, allocations: 238.6 kB / 370.5 MB, free: 1.305 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004173/0.1291, allocations: 189.6 kB / 370.7 MB, free: 1.121 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.1292, allocations: 8 kB / 370.7 MB, free: 1.113 MB / 302.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009828/0.1301, allocations: 0.4968 MB / 371.2 MB, free: 0.6094 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.1302, allocations: 4 kB / 371.2 MB, free: 0.6055 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.1302, allocations: 4 kB / 371.2 MB, free: 0.6016 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1302, allocations: 4 kB / 371.2 MB, free: 0.5977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.1308, allocations: 119.9 kB / 371.3 MB, free: 492 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.666e-06/0.1308, allocations: 8 kB / 371.4 MB, free: 484 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000368/0.1312, allocations: 39.97 kB / 371.4 MB, free: 444 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.372e-05/0.1312, allocations: 16 kB / 371.4 MB, free: 428 kB / 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.1314, allocations: 168.2 kB / 371.6 MB, free: 252 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.006e-05/0.1315, allocations: 23.72 kB / 371.6 MB, free: 228 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1724/0.3039, allocations: 0.6881 MB / 372.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.31e-05/0.304, allocations: 5.891 kB / 372.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.754e-06/0.304, allocations: 0.6875 kB / 372.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/0.304, allocations: 2.766 kB / 372.3 MB, free: 19.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.3072, allocations: 1.311 MB / 373.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.3072, allocations: 1.25 kB / 373.6 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004537/0.3077, allocations: 94.11 kB / 373.7 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.3094, allocations: 288 kB / 374 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.3095, allocations: 12.02 kB / 374 MB, free: 19.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003881/0.3134, allocations: 2.328 MB / 376.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3134, allocations: 0 / 376.3 MB, free: 18.1 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002179/0.3156, allocations: 1.055 MB / 377.4 MB, free: 17.59 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001661/0.3158, allocations: 154.6 kB / 377.5 MB, free: 17.47 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.821e-05/0.3158, allocations: 11.31 kB / 377.5 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004372/0.3163, allocations: 35.39 kB / 377.6 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.3164, allocations: 34.17 kB / 377.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.48e-05/0.3164, allocations: 15.06 kB / 377.6 MB, free: 17.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000195/0.3166, allocations: 214.8 kB / 377.8 MB, free: 17.32 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3166, allocations: 4 kB / 377.8 MB, free: 17.31 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005429/0.3172, allocations: 114.7 kB / 377.9 MB, free: 17.3 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 (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.0002389/0.3174, allocations: 141.4 kB / 378.1 MB, free: 17.2 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000905/0.3184, allocations: 446.6 kB / 378.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3184, allocations: 5.141 kB / 378.5 MB, free: 17.06 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006377/0.319, allocations: 389.3 kB / 378.9 MB, free: 16.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3194, allocations: 35.55 kB / 378.9 MB, free: 16.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.3211, allocations: 1.204 MB / 380.1 MB, free: 16.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.3213, allocations: 0.795 MB / 380.9 MB, free: 15.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002114/0.3215, allocations: 45.02 kB / 381 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001332/0.3217, allocations: 35.23 kB / 381 MB, free: 15.41 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3217, allocations: 3.938 kB / 381 MB, free: 15.41 MB / 302.1 MB Notification: Performance of Templates: time 0.009973/0.3317, allocations: 5.712 MB / 386.7 MB, free: 13.95 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/InductorWithHysteresis/InductorWithHysteresis.csv","../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.InductorWithHysteresis.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches