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.0007537/0.0007537, allocations: 77.05 kB / 10 MB, free: 0.6797 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001239/0.001993, allocations: 453.9 kB / 10.45 MB, free: 244 kB / 10.45 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.0007182/0.0007182, allocations: 161.1 kB / 11.35 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009511/0.001669, allocations: 475.6 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9531/0.9531, allocations: 177.2 MB / 189.8 MB, free: 5.258 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0956/1.049, allocations: 53.65 MB / 243.4 MB, free: 15.52 MB / 250.7 MB " [Timeout remaining time 179] 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 1.684e-06/1.684e-06, allocations: 0 / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.542e-05, allocations: 6.109 kB / 244.7 MB, free: 14.24 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.004269/0.004294, allocations: 4.354 MB / 249.1 MB, free: 9.855 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.006723, allocations: 1.675 MB / 250.7 MB, free: 8.172 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002989/0.007021, allocations: 11.94 kB / 250.7 MB, free: 8.16 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002464/0.007268, allocations: 126.7 kB / 250.9 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.007884, allocations: 369.4 kB / 251.2 MB, free: 7.672 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.008267, allocations: 247.4 kB / 251.5 MB, free: 7.43 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008774/0.009145, allocations: 1.002 MB / 252.5 MB, free: 6.426 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.009745, allocations: 160 kB / 252.6 MB, free: 6.266 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000966/0.01071, allocations: 0.6616 MB / 253.3 MB, free: 5.602 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003866/0.0111, allocations: 343.1 kB / 253.6 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-05/0.01119, allocations: 92 kB / 253.7 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.01155, allocations: 223.9 kB / 253.9 MB, free: 4.957 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.186e-05/0.01164, allocations: 143.6 kB / 254.1 MB, free: 4.816 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001799/0.01182, allocations: 239.6 kB / 254.3 MB, free: 4.582 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.01241, allocations: 0.6307 MB / 254.9 MB, free: 3.949 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.269e-05/0.01242, allocations: 7.984 kB / 254.9 MB, free: 3.941 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01242, allocations: 3.938 kB / 255 MB, free: 3.938 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.01244, allocations: 0 / 255 MB, free: 3.938 MB / 250.7 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.001252/0.01369, allocations: 1.154 MB / 256.1 MB, free: 2.758 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.994e-05/0.01372, allocations: 12.03 kB / 256.1 MB, free: 2.746 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002093/0.01393, allocations: 185.9 kB / 256.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003734/0.0143, allocations: 326.3 kB / 256.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.228e-05/0.01438, allocations: 131 kB / 256.7 MB, free: 2.059 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.0145, allocations: 68.73 kB / 256.8 MB, free: 1.992 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004468/0.01494, allocations: 0.5355 MB / 257.3 MB, free: 1.41 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.613e-05/0.01496, allocations: 7.891 kB / 257.4 MB, free: 1.402 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.465e-05/0.01499, allocations: 24 kB / 257.4 MB, free: 1.379 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.058e-05/0.01501, allocations: 16 kB / 257.4 MB, free: 1.363 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002498/0.01526, allocations: 194.2 kB / 257.6 MB, free: 1.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001494/0.01675, allocations: 1.49 MB / 259.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002823/0.01703, allocations: 251.5 kB / 259.3 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001323/0.01716, allocations: 114.1 kB / 259.4 MB, free: 15.22 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.334e-05/0.01719, allocations: 8 kB / 259.4 MB, free: 15.21 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.243e-05/0.01721, allocations: 38.56 kB / 259.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of pre-optimization done (n=45): time 1.643e-06/0.01721, allocations: 0 / 259.5 MB, free: 15.17 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.005425/0.02264, allocations: 2.527 MB / 262 MB, free: 12.61 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.508e-05/0.02267, allocations: 85.61 kB / 262.1 MB, free: 12.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002762/0.02295, allocations: 420.8 kB / 262.5 MB, free: 12.07 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.02298, allocations: 37.7 kB / 262.5 MB, free: 12.03 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.02308, allocations: 277.7 kB / 262.8 MB, free: 11.75 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.02319, allocations: 218.1 kB / 263 MB, free: 11.54 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001117/0.0233, allocations: 110.2 kB / 263.1 MB, free: 11.42 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.02339, allocations: 378.6 kB / 263.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.57e-05/0.02349, allocations: 69.27 kB / 263.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.02363, allocations: 176.5 kB / 263.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002774/0.02391, allocations: 310.2 kB / 264 MB, free: 10.43 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.02391, allocations: 0 / 264 MB, free: 10.43 MB / 266.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.000376/0.02428, allocations: 342 kB / 264.4 MB, free: 10.09 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.0243, allocations: 8 kB / 264.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.0243, allocations: 0 / 264.4 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001443/0.02445, allocations: 44.75 kB / 264.4 MB, free: 10.04 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004569/0.02491, allocations: 215.8 kB / 264.6 MB, free: 9.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005696/0.02548, allocations: 1.187 MB / 265.8 MB, free: 8.543 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001957/0.02567, allocations: 40.02 kB / 265.9 MB, free: 8.504 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.0257, allocations: 15.98 kB / 265.9 MB, free: 8.488 MB / 266.7 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.0001253/0.02582, allocations: 145.7 kB / 266 MB, free: 8.336 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.726e-05/0.0259, allocations: 55.89 kB / 266.1 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004834/0.02638, allocations: 435.7 kB / 266.5 MB, free: 7.852 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.02639, allocations: 12 kB / 266.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.02639, allocations: 0 / 266.5 MB, free: 7.84 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.0264, allocations: 7.984 kB / 266.5 MB, free: 7.832 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.02789, allocations: 0.8877 MB / 267.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.02789, allocations: 0 / 267.4 MB, free: 6.918 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002936/0.02819, allocations: 141.2 kB / 267.5 MB, free: 6.781 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/0.02831, allocations: 59.61 kB / 267.6 MB, free: 6.723 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000829/0.02914, allocations: 348.4 kB / 267.9 MB, free: 6.379 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.451e-05/0.02916, allocations: 12 kB / 268 MB, free: 6.367 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00176/0.03092, allocations: 1.989 MB / 269.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.03092, allocations: 0 / 269.9 MB, free: 4.301 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008151/0.03174, allocations: 0.7063 MB / 270.7 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.701e-05/0.03178, allocations: 16 kB / 270.7 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002278/0.03201, allocations: 35.97 kB / 270.7 MB, free: 3.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.379e-05/0.03209, allocations: 48.56 kB / 270.8 MB, free: 3.473 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.363e-05/0.03212, allocations: 15.98 kB / 270.8 MB, free: 3.457 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001546/0.03227, allocations: 191.5 kB / 271 MB, free: 3.27 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03227, allocations: 0 / 271 MB, free: 3.27 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004297/0.0327, allocations: 184.1 kB / 271.1 MB, free: 3.09 MB / 266.7 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.000224/0.03293, allocations: 152.2 kB / 271.3 MB, free: 2.93 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.03337, allocations: 422.6 kB / 271.7 MB, free: 2.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/0.03339, allocations: 8 kB / 271.7 MB, free: 2.496 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003519/0.03374, allocations: 397.5 kB / 272.1 MB, free: 2.094 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.03428, allocations: 0.7043 MB / 272.8 MB, free: 1.27 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004612/0.03889, allocations: 1.28 MB / 274.1 MB, free: 15.95 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.778e-05/0.03899, allocations: 152.4 kB / 274.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002016/0.03919, allocations: 64.7 kB / 274.3 MB, free: 15.71 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002434/0.03943, allocations: 163.2 kB / 274.4 MB, free: 15.55 MB / 282.7 MB Notification: Performance of SimCode: time 1.212e-06/0.03943, allocations: 4 kB / 274.5 MB, free: 15.55 MB / 282.7 MB Notification: Performance of Templates: time 0.01291/0.05235, allocations: 10.77 MB / 285.2 MB, free: 4.926 MB / 282.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.723889721557498]