Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001348/0.001352, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001273/0.001273, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 227.4 MB / 247.1 MB, free: 10.7 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001181/0.001181, allocations: 60.88 kB / 307.1 MB, free: 0.9219 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09598/0.09718, allocations: 50.54 MB / 357.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.004471/0.1017, allocations: 3.474 MB / 361.1 MB, free: 10.89 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002435/0.1042, allocations: 1.637 MB / 362.8 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002316/0.1044, allocations: 4 kB / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001874/0.1063, allocations: 1.817 MB / 364.6 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005465/0.1069, allocations: 186.9 kB / 364.8 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007086/0.1076, allocations: 287.4 kB / 365 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.1094, allocations: 1.813 MB / 366.9 MB, free: 5.141 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002286/0.1096, allocations: 151.7 kB / 367 MB, free: 4.996 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000394/0.11, allocations: 317 kB / 367.3 MB, free: 4.684 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003553/0.1104, allocations: 326.8 kB / 367.6 MB, free: 4.363 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.768e-05/0.1104, allocations: 48 kB / 367.7 MB, free: 4.316 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002039/0.1107, allocations: 91.97 kB / 367.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005496/0.1112, allocations: 0.8492 MB / 368.6 MB, free: 3.375 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006031/0.1118, allocations: 0.9462 MB / 369.6 MB, free: 2.422 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001604/0.1134, allocations: 2.184 MB / 371.8 MB, free: 240 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.75e-06/0.1135, allocations: 0 / 371.8 MB, free: 240 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1135, allocations: 0 / 371.8 MB, free: 240 kB / 302.1 MB Notification: Performance of Transformations before backend: time 2.681e-05/0.1135, allocations: 0 / 371.8 MB, free: 240 kB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.1666/0.2801, allocations: 2.814 MB / 374.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.2802, allocations: 10.55 kB / 374.6 MB, free: 18.8 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004653/0.2806, allocations: 291.5 kB / 374.9 MB, free: 18.65 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002256/0.2829, allocations: 1.834 MB / 376.7 MB, free: 17.79 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.658e-05/0.283, allocations: 59.02 kB / 376.8 MB, free: 17.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001663/0.2831, allocations: 45.41 kB / 376.8 MB, free: 17.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006848/0.2838, allocations: 398.5 kB / 377.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.794e-05/0.2839, allocations: 2.031 kB / 377.2 MB, free: 17.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.2839, allocations: 14.75 kB / 377.2 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.728e-06/0.2839, allocations: 9.625 kB / 377.2 MB, free: 17.53 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006709/0.2846, allocations: 330.1 kB / 377.5 MB, free: 17.43 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003806/0.2884, allocations: 2.908 MB / 380.4 MB, free: 16.01 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006292/0.2891, allocations: 319.2 kB / 380.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002966/0.2894, allocations: 166.3 kB / 380.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.024e-05/0.2894, allocations: 6.094 kB / 380.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.2895, allocations: 38.58 kB / 381 MB, free: 15.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.765e-06/0.2895, allocations: 0 / 381 MB, free: 15.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=48): time 0.004695/0.2942, allocations: 2.403 MB / 383.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.2942, allocations: 84.7 kB / 383.4 MB, free: 14.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006998/0.3012, allocations: 5.448 MB / 388.9 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.14e-05/0.3013, allocations: 39.97 kB / 388.9 MB, free: 12.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008721/0.3022, allocations: 1.184 MB / 390.1 MB, free: 11.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.3024, allocations: 167.3 kB / 390.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001361/0.3025, allocations: 89.94 kB / 390.4 MB, free: 11.46 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.663e-05/0.3026, allocations: 326.1 kB / 390.7 MB, free: 11.15 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003392/0.3029, allocations: 143.4 kB / 390.8 MB, free: 11.1 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.3033, allocations: 219.4 kB / 391 MB, free: 10.97 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006265/0.3039, allocations: 389.8 kB / 391.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.3039, allocations: 5.375 kB / 391.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001338/0.3053, allocations: 0.6784 MB / 392.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.139e-05/0.3053, allocations: 9.312 kB / 392.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.3053, allocations: 2.234 kB / 392.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3053, allocations: 5.781 kB / 392.1 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005176/0.3059, allocations: 125.7 kB / 392.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.192e-05/0.3059, allocations: 5.625 kB / 392.2 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005053/0.3064, allocations: 24.7 kB / 392.3 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.37e-05/0.3064, allocations: 19.67 kB / 392.3 MB, free: 10.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (62): * Single equations (assignments): 62 * 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.0009426/0.3074, allocations: 0.9189 MB / 393.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.3077, allocations: 276.3 kB / 393.5 MB, free: 9.855 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00127/0.309, allocations: 0.8017 MB / 394.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.309, allocations: 4.5 kB / 394.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.309, allocations: 3.938 kB / 394.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.309, allocations: 0 / 394.3 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001498/0.3105, allocations: 1.472 MB / 395.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.3105, allocations: 2.938 kB / 395.8 MB, free: 8.25 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004193/0.311, allocations: 99.88 kB / 395.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.3113, allocations: 103.3 kB / 396 MB, free: 8.055 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.95e-05/0.3113, allocations: 15.92 kB / 396 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003937/0.3117, allocations: 0.6273 MB / 396.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3117, allocations: 0 / 396.6 MB, free: 7.387 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001354/0.3131, allocations: 1.098 MB / 397.7 MB, free: 6.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005286/0.3136, allocations: 493.5 kB / 398.2 MB, free: 5.766 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001817/0.3138, allocations: 8 kB / 398.2 MB, free: 5.758 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004705/0.3143, allocations: 23.92 kB / 398.2 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.816e-05/0.3144, allocations: 28.39 kB / 398.2 MB, free: 5.707 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.568e-05/0.3144, allocations: 20 kB / 398.3 MB, free: 5.688 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.003332/0.3177, allocations: 3.986 MB / 402.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.71e-07/0.3178, allocations: 0 / 402.3 MB, free: 1.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006345/0.3184, allocations: 208 kB / 402.5 MB, free: 1.508 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 5 (core.MagRel,winding1.i,winding2.i,core.Hstat,core.B) * 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 (41): * Single equations (assignments): 40 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008846/0.3193, allocations: 410.8 kB / 402.9 MB, free: 1.254 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00079/0.3201, allocations: 412.8 kB / 403.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.3201, allocations: 0 / 403.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000388/0.3205, allocations: 210.4 kB / 403.5 MB, free: 0.6445 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3216, allocations: 187.8 kB / 403.6 MB, free: 472 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008317/0.33, allocations: 6.244 MB / 409.9 MB, free: 10.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001793/0.3318, allocations: 1.818 MB / 411.7 MB, free: 8.324 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003261/0.3321, allocations: 99.42 kB / 411.8 MB, free: 8.23 MB / 318.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3321, allocations: 4 kB / 411.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of Templates: time 0.06018/0.3923, allocations: 35.98 MB / 447.8 MB, free: 4.23 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis1/SinglePhaseTransformerWithHysteresis1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches