Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001964/0.001964, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00252/0.00252, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.562/1.562, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") translateModel(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2,tolerance=0.0001,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transformer.core.B|transformer.core.MagRel|transformer.core.Hstat|transformer.winding1.i|transformer.winding2.i",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 47.94 kB / 373.5 MB, free: 9.723 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1055/0.1071, allocations: 53.34 MB / 426.8 MB, free: 4.289 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.1935/0.3007, allocations: 4.39 MB / 431.2 MB, free: 8.113 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00254/0.3032, allocations: 1.655 MB / 432.8 MB, free: 8.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002622/0.3035, allocations: 15.38 kB / 432.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003035/0.3038, allocations: 126.6 kB / 433 MB, free: 8.02 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000634/0.3044, allocations: 369.9 kB / 433.3 MB, free: 7.898 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003416/0.3047, allocations: 238 kB / 433.6 MB, free: 7.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006633/0.3054, allocations: 0.9798 MB / 434.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002471/0.3056, allocations: 153.6 kB / 434.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.306, allocations: 396 kB / 435.1 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004256/0.3064, allocations: 427.9 kB / 435.5 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001224/0.3066, allocations: 95.94 kB / 435.6 MB, free: 7.508 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003604/0.3069, allocations: 225.1 kB / 435.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.3071, allocations: 197.4 kB / 436 MB, free: 7.344 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.3074, allocations: 415.7 kB / 436.4 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001227/0.3086, allocations: 1.171 MB / 437.6 MB, free: 6.676 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3086, allocations: 4 kB / 437.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3086, allocations: 1.219 kB / 437.6 MB, free: 6.672 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.184e-05/0.3086, allocations: 0 / 437.6 MB, free: 6.672 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002321/0.3109, allocations: 1.111 MB / 438.7 MB, free: 5.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.311, allocations: 13.38 kB / 438.7 MB, free: 5.922 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002608/0.3112, allocations: 89.23 kB / 438.8 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007232/0.312, allocations: 0.5309 MB / 439.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.117e-05/0.312, allocations: 70.09 kB / 439.4 MB, free: 5.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001954/0.3122, allocations: 74.02 kB / 439.5 MB, free: 5.402 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.3133, allocations: 0.6073 MB / 440.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/0.3133, allocations: 0 / 440.1 MB, free: 5.121 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.531e-05/0.3134, allocations: 21.78 kB / 440.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.367e-05/0.3134, allocations: 13.61 kB / 440.1 MB, free: 5.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001105/0.3145, allocations: 0.5293 MB / 440.7 MB, free: 4.918 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003174/0.3177, allocations: 2.295 MB / 443 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001063/0.3187, allocations: 457.5 kB / 443.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005206/0.3193, allocations: 243.3 kB / 443.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.254e-05/0.3193, allocations: 8.875 kB / 443.6 MB, free: 3.137 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.325e-05/0.3193, allocations: 39.05 kB / 443.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.3193, allocations: 0 / 443.7 MB, free: 3.094 MB / 350.1 MB Notification: Performance of matching and sorting (n=61): time 0.01291/0.3322, allocations: 3.561 MB / 447.2 MB, free: 1.633 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.771e-05/0.3323, allocations: 88.58 kB / 447.3 MB, free: 1.531 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007003/0.333, allocations: 0.5334 MB / 447.9 MB, free: 1.27 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.363e-05/0.333, allocations: 37.14 kB / 447.9 MB, free: 1.23 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.3332, allocations: 326.2 kB / 448.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.3333, allocations: 215.7 kB / 448.4 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000196/0.3335, allocations: 117 kB / 448.5 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.686e-05/0.3336, allocations: 365.5 kB / 448.9 MB, free: 416 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005545/0.3341, allocations: 251.4 kB / 449.1 MB, free: 312 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005871/0.3347, allocations: 342.1 kB / 449.5 MB, free: 120 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.3362, allocations: 0.6323 MB / 450.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3362, allocations: 1.094 kB / 450.1 MB, free: 15.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001658/0.3379, allocations: 0.7437 MB / 450.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.3379, allocations: 7.719 kB / 450.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/0.3379, allocations: 3.031 kB / 450.9 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001618/0.338, allocations: 34.02 kB / 450.9 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008264/0.3389, allocations: 163.3 kB / 451.1 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.3402, allocations: 1.43 MB / 452.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005791/0.3408, allocations: 42.73 kB / 452.5 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.3409, allocations: 28.16 kB / 452.6 MB, free: 14.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 75 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002957/0.3412, allocations: 199.4 kB / 452.8 MB, free: 13.86 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.3413, allocations: 69.11 kB / 452.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002006/0.3433, allocations: 0.8335 MB / 453.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.031e-05/0.3433, allocations: 11.09 kB / 453.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3433, allocations: 3.047 kB / 453.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.094e-05/0.3433, allocations: 4.203 kB / 453.7 MB, free: 13.45 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003921/0.3473, allocations: 1.844 MB / 455.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.125e-06/0.3473, allocations: 0 / 455.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005524/0.3478, allocations: 110.9 kB / 455.6 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.3502, allocations: 474.1 kB / 456.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.19e-05/0.3502, allocations: 16.98 kB / 456.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005659/0.3559, allocations: 3.152 MB / 459.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.3559, allocations: 0.9375 kB / 459.3 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003224/0.3591, allocations: 1.367 MB / 460.6 MB, free: 9.004 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003685/0.3595, allocations: 210.4 kB / 460.8 MB, free: 8.801 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.3596, allocations: 11.72 kB / 460.8 MB, free: 8.793 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006231/0.3602, allocations: 42.98 kB / 460.9 MB, free: 8.773 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001487/0.3604, allocations: 49.69 kB / 460.9 MB, free: 8.746 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.847e-05/0.3604, allocations: 23.58 kB / 461 MB, free: 8.738 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005317/0.3609, allocations: 397.1 kB / 461.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3609, allocations: 0 / 461.3 MB, free: 8.5 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008212/0.3618, allocations: 189.7 kB / 461.5 MB, free: 8.473 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (transformer.winding1.i,transformer.winding2.i,transformer.core.B,transformer.core.MagRel) * Number of discrete variables: 1 (transformer.core.asc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 51 * 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 {(2,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003107/0.3621, allocations: 146.3 kB / 461.7 MB, free: 8.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.3638, allocations: 0.7037 MB / 462.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.876e-06/0.3638, allocations: 0.625 kB / 462.4 MB, free: 7.969 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.3648, allocations: 0.5011 MB / 462.9 MB, free: 7.652 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006814/0.3655, allocations: 99.58 kB / 463 MB, free: 7.602 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002843/0.3683, allocations: 1.49 MB / 464.5 MB, free: 6.648 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005868/0.3689, allocations: 0.904 MB / 465.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002963/0.3692, allocations: 70.38 kB / 465.4 MB, free: 5.828 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.3694, allocations: 50.91 kB / 465.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3694, allocations: 0 / 465.5 MB, free: 5.812 MB / 366.1 MB Notification: Performance of Templates: time 0.01996/0.3894, allocations: 10.51 MB / 476 MB, free: 14.29 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.098798204213381]