Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.SinglePhaseTransformerWithHysteresis1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|core.B|core.Hstat|core.MagRel|winding1.i|winding2.i",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001158, allocations: 114.9 kB / 17.74 MB, free: 5.336 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.00114/0.00114, allocations: 188.4 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.336/1.336, allocations: 222.9 MB / 242.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009982/0.0009983, allocations: 47.94 kB / 352 MB, free: 3.242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2526/0.2536, allocations: 49.44 MB / 401.4 MB, free: 8.734 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1): time 0.005189/0.2589, allocations: 3.397 MB / 404.8 MB, free: 5.469 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002394/0.2613, allocations: 1.45 MB / 406.3 MB, free: 4.012 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001784/0.2615, allocations: 8 kB / 406.3 MB, free: 4.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.2643, allocations: 2.663 MB / 408.9 MB, free: 1.336 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00044/0.2648, allocations: 166.8 kB / 409.1 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.2655, allocations: 304 kB / 409.4 MB, free: 0.8789 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001815/0.2673, allocations: 1.794 MB / 411.2 MB, free: 15.08 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002285/0.2676, allocations: 139.3 kB / 411.3 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003407/0.2679, allocations: 309 kB / 411.6 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003737/0.2683, allocations: 330.8 kB / 411.9 MB, free: 14.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.682e-05/0.2684, allocations: 44 kB / 412 MB, free: 14.27 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001979/0.2686, allocations: 87.98 kB / 412.1 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006041/0.2692, allocations: 0.8453 MB / 412.9 MB, free: 13.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006603/0.2699, allocations: 0.9385 MB / 413.8 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002122/0.272, allocations: 2.613 MB / 416.5 MB, free: 9.77 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.272, allocations: 3.938 kB / 416.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.272, allocations: 0 / 416.5 MB, free: 9.766 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.588e-05/0.2721, allocations: 0 / 416.5 MB, free: 9.766 MB / 334.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.0037/0.2758, allocations: 2.798 MB / 419.3 MB, free: 6.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.2758, allocations: 8.031 kB / 419.3 MB, free: 6.895 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003353/0.2762, allocations: 277.4 kB / 419.5 MB, free: 6.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002264/0.2784, allocations: 1.828 MB / 421.4 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.417e-05/0.2785, allocations: 59.27 kB / 421.4 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001677/0.2787, allocations: 47.92 kB / 421.5 MB, free: 4.625 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.2794, allocations: 398.9 kB / 421.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.495e-05/0.2795, allocations: 0 / 421.9 MB, free: 4.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.965e-05/0.2795, allocations: 16 kB / 421.9 MB, free: 4.203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.2795, allocations: 12 kB / 421.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007298/0.2803, allocations: 331.7 kB / 422.2 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003861/0.2841, allocations: 2.895 MB / 425.1 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006387/0.2848, allocations: 324.9 kB / 425.4 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003184/0.2851, allocations: 162.2 kB / 425.6 MB, free: 380 kB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.693e-05/0.2852, allocations: 11.98 kB / 425.6 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.2852, allocations: 46.36 kB / 425.6 MB, free: 312 kB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.363e-06/0.2852, allocations: 0 / 425.6 MB, free: 312 kB / 334.1 MB Notification: Performance of matching and sorting (n=48): time 0.004802/0.29, allocations: 2.381 MB / 428 MB, free: 13.85 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.729e-05/0.2901, allocations: 85.48 kB / 428.1 MB, free: 13.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005935/0.296, allocations: 5.439 MB / 433.5 MB, free: 8.309 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.927e-05/0.2961, allocations: 33.7 kB / 433.6 MB, free: 8.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0011/0.2972, allocations: 1.207 MB / 434.8 MB, free: 7.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001293/0.2973, allocations: 169.5 kB / 435 MB, free: 6.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001408/0.2975, allocations: 82.25 kB / 435 MB, free: 6.801 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.2976, allocations: 334 kB / 435.4 MB, free: 6.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.2979, allocations: 133.1 kB / 435.5 MB, free: 6.34 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.2983, allocations: 217.7 kB / 435.7 MB, free: 6.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006868/0.299, allocations: 388.3 kB / 436.1 MB, free: 5.695 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.299, allocations: 3.938 kB / 436.1 MB, free: 5.691 MB / 350.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001112/0.3001, allocations: 0.68 MB / 436.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.3002, allocations: 4.25 kB / 436.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3002, allocations: 8 kB / 436.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.3002, allocations: 4 kB / 436.8 MB, free: 4.988 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.3007, allocations: 127.8 kB / 436.9 MB, free: 4.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3007, allocations: 4 kB / 436.9 MB, free: 4.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.3012, allocations: 16 kB / 436.9 MB, free: 4.844 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.228e-05/0.3012, allocations: 19.98 kB / 436.9 MB, free: 4.824 MB / 350.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.0009444/0.3022, allocations: 0.9191 MB / 437.9 MB, free: 3.895 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002986/0.3025, allocations: 268.5 kB / 438.1 MB, free: 3.629 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001398/0.3039, allocations: 0.7979 MB / 438.9 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3039, allocations: 4 kB / 438.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.3039, allocations: 0 / 438.9 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.3039, allocations: 7.984 kB / 438.9 MB, free: 2.805 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001561/0.3055, allocations: 1.473 MB / 440.4 MB, free: 1.281 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.3055, allocations: 3.938 kB / 440.4 MB, free: 1.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004425/0.3059, allocations: 95.88 kB / 440.5 MB, free: 1.184 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003453/0.3063, allocations: 92.73 kB / 440.6 MB, free: 1.09 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.504e-05/0.3063, allocations: 12 kB / 440.6 MB, free: 1.078 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005525/0.3069, allocations: 0.6344 MB / 441.2 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3069, allocations: 0 / 441.2 MB, free: 428 kB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.3086, allocations: 1.077 MB / 442.3 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006447/0.3092, allocations: 497.5 kB / 442.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001907/0.3094, allocations: 8 kB / 442.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.3099, allocations: 19.98 kB / 442.8 MB, free: 14.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.322e-05/0.31, allocations: 32.39 kB / 442.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.672e-05/0.3101, allocations: 16 kB / 442.9 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004714/0.3148, allocations: 3.97 MB / 446.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3148, allocations: 0 / 446.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007149/0.3155, allocations: 215.9 kB / 447.1 MB, free: 10.56 MB / 366.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.0009912/0.3165, allocations: 430.9 kB / 447.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008696/0.3174, allocations: 380.8 kB / 447.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.3174, allocations: 0 / 447.9 MB, free: 9.914 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004904/0.3179, allocations: 214.4 kB / 448.1 MB, free: 9.707 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.319, allocations: 187.9 kB / 448.2 MB, free: 9.52 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00766/0.3266, allocations: 5.585 MB / 453.8 MB, free: 3.887 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001692/0.3283, allocations: 1.81 MB / 455.6 MB, free: 2.043 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003713/0.3287, allocations: 95.42 kB / 455.7 MB, free: 1.949 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3287, allocations: 3.938 kB / 455.7 MB, free: 1.945 MB / 366.1 MB Notification: Performance of Templates: time 0.06196/0.3907, allocations: 35.97 MB / 491.7 MB, free: 13.96 MB / 414.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches