Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001309/0.001309, allocations: 85.44 kB / 21.43 MB, free: 288 kB / 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.00199/0.00199, allocations: 162.4 kB / 24.7 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 158.6 MB / 186.5 MB, free: 6.395 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 298.9 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.064e-05/3.247e-05, allocations: 2.281 kB / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.00616/0.006193, allocations: 3.887 MB / 302.8 MB, free: 4.812 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003373/0.009566, allocations: 1.552 MB / 304.4 MB, free: 3.25 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005643/0.01013, allocations: 15.94 kB / 304.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005166/0.01065, allocations: 122.8 kB / 304.5 MB, free: 3.113 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001319/0.01197, allocations: 377.4 kB / 304.9 MB, free: 2.742 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007278/0.01269, allocations: 235.5 kB / 305.1 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.01433, allocations: 1.005 MB / 306.1 MB, free: 1.504 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004017/0.01474, allocations: 154 kB / 306.3 MB, free: 1.355 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.01597, allocations: 0.5574 MB / 306.8 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006681/0.01663, allocations: 327.1 kB / 307.2 MB, free: 488 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.01684, allocations: 96 kB / 307.3 MB, free: 392 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004845/0.01732, allocations: 207.9 kB / 307.5 MB, free: 184 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002238/0.01755, allocations: 199.4 kB / 307.6 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004603/0.01801, allocations: 299.2 kB / 307.9 MB, free: 15.69 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.01957, allocations: 1.207 MB / 309.1 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.01957, allocations: 4 kB / 309.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01957, allocations: 0 / 309.2 MB, free: 14.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.44e-05/0.01961, allocations: 3.938 kB / 309.2 MB, free: 14.47 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.002999/0.02261, allocations: 1.042 MB / 310.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.475e-05/0.02265, allocations: 11.98 kB / 310.2 MB, free: 13.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002143/0.02287, allocations: 80.47 kB / 310.3 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.02393, allocations: 472.7 kB / 310.7 MB, free: 12.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001474/0.02408, allocations: 127 kB / 310.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002249/0.0243, allocations: 64.73 kB / 310.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/0.02564, allocations: 0.7068 MB / 311.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/0.02566, allocations: 3.938 kB / 311.6 MB, free: 11.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.145e-05/0.02572, allocations: 20 kB / 311.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.708e-05/0.02574, allocations: 16 kB / 311.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001275/0.02702, allocations: 0.5204 MB / 312.2 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003983/0.031, allocations: 1.973 MB / 314.2 MB, free: 9.238 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001054/0.03205, allocations: 453.3 kB / 314.6 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000558/0.03261, allocations: 246.1 kB / 314.9 MB, free: 8.531 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.03264, allocations: 8 kB / 314.9 MB, free: 8.523 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.923e-05/0.03268, allocations: 42.5 kB / 314.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of pre-optimization done (n=45): time 1.903e-06/0.03268, allocations: 0 / 314.9 MB, free: 8.473 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.01402/0.0467, allocations: 3.319 MB / 318.2 MB, free: 5.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/0.04678, allocations: 89.55 kB / 318.3 MB, free: 5.012 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008004/0.04758, allocations: 0.5135 MB / 318.8 MB, free: 4.488 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.279e-05/0.04764, allocations: 33.7 kB / 318.9 MB, free: 4.449 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002667/0.04791, allocations: 324.8 kB / 319.2 MB, free: 4.129 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002182/0.04812, allocations: 214.1 kB / 319.4 MB, free: 3.918 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/0.04834, allocations: 106.3 kB / 319.5 MB, free: 3.809 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002066/0.04855, allocations: 370.7 kB / 319.9 MB, free: 3.438 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006392/0.04919, allocations: 245.2 kB / 320.1 MB, free: 3.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.04992, allocations: 352.5 kB / 320.4 MB, free: 2.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00134/0.05126, allocations: 0.6071 MB / 321 MB, free: 2.18 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.05126, allocations: 0 / 321 MB, free: 2.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001702/0.05296, allocations: 0.74 MB / 321.8 MB, free: 1.43 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.05298, allocations: 10.84 kB / 321.8 MB, free: 1.422 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.05299, allocations: 4 kB / 321.8 MB, free: 1.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001815/0.05318, allocations: 40.77 kB / 321.8 MB, free: 1.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008641/0.05404, allocations: 163.8 kB / 322 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1487/0.2027, allocations: 1.29 MB / 323.3 MB, free: 33.05 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007884/0.2035, allocations: 39.66 kB / 323.3 MB, free: 33.05 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/0.2036, allocations: 26.11 kB / 323.4 MB, free: 33.05 MB / 302.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.0003506/0.2039, allocations: 204.2 kB / 323.6 MB, free: 32.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001715/0.2041, allocations: 57.7 kB / 323.6 MB, free: 32.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001831/0.2059, allocations: 0.8323 MB / 324.4 MB, free: 32.88 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2059, allocations: 8.25 kB / 324.4 MB, free: 32.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.2059, allocations: 2.344 kB / 324.5 MB, free: 32.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.2059, allocations: 4.828 kB / 324.5 MB, free: 32.88 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00331/0.2093, allocations: 1.593 MB / 326 MB, free: 32.11 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2093, allocations: 1.719 kB / 326 MB, free: 32.11 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005319/0.2098, allocations: 110.9 kB / 326.2 MB, free: 32.11 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002292/0.2121, allocations: 476.7 kB / 326.6 MB, free: 32.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.993e-05/0.2121, allocations: 14.47 kB / 326.6 MB, free: 32.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004401/0.2165, allocations: 2.973 MB / 329.6 MB, free: 29.96 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.2165, allocations: 1.375 kB / 329.6 MB, free: 29.96 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/0.2194, allocations: 1.357 MB / 331 MB, free: 29.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003406/0.2197, allocations: 132.8 kB / 331.1 MB, free: 29.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.831e-05/0.2198, allocations: 15.98 kB / 331.1 MB, free: 29.23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.2204, allocations: 43.53 kB / 331.2 MB, free: 29.23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.2206, allocations: 50.86 kB / 331.2 MB, free: 29.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.2206, allocations: 22.28 kB / 331.2 MB, free: 29.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004726/0.2211, allocations: 371.2 kB / 331.6 MB, free: 29.03 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2211, allocations: 0 / 331.6 MB, free: 29.03 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007917/0.2219, allocations: 193.9 kB / 331.8 MB, free: 29.01 MB / 302.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.0003053/0.2222, allocations: 145.1 kB / 331.9 MB, free: 28.91 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001483/0.2237, allocations: 0.7082 MB / 332.6 MB, free: 28.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.2237, allocations: 0 / 332.6 MB, free: 28.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.2246, allocations: 0.4979 MB / 333.1 MB, free: 28.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006072/0.2252, allocations: 67.44 kB / 333.2 MB, free: 28.29 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002346/0.2275, allocations: 1.35 MB / 334.5 MB, free: 27.54 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.2278, allocations: 306.9 kB / 334.8 MB, free: 27.44 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002788/0.2281, allocations: 66.33 kB / 334.9 MB, free: 27.42 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.2283, allocations: 57.34 kB / 335 MB, free: 27.41 MB / 302.1 MB Notification: Performance of SimCode: time 6.51e-07/0.2283, allocations: 0 / 335 MB, free: 27.41 MB / 302.1 MB Notification: Performance of Templates: time 0.01483/0.2431, allocations: 9.481 MB / 344.4 MB, free: 22.73 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.sim & ./Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/Hysteresis/SinglePhaseTransformerWithHysteresis2/SinglePhaseTransformerWithHysteresis2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.6494141817092896]