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.0008974/0.0008974, allocations: 76.81 kB / 22.28 MB, free: 2.211 MB / 18.57 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.0009376/0.0009376, allocations: 165.4 kB / 25.7 MB, free: 7.953 MB / 18.57 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 0.7947/0.7947, allocations: 158.6 MB / 187.6 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] 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.403e-06/1.403e-06, allocations: 0 / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.613e-05/1.753e-05, allocations: 6.25 kB / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2): time 0.003664/0.003682, allocations: 4.204 MB / 255.7 MB, free: 3.031 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.005738, allocations: 1.645 MB / 257.4 MB, free: 1.371 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002396/0.005978, allocations: 7.938 kB / 257.4 MB, free: 1.363 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.006263, allocations: 130.7 kB / 257.5 MB, free: 1.234 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005995/0.006862, allocations: 381.3 kB / 257.9 MB, free: 0.8594 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002972/0.007159, allocations: 227.6 kB / 258.1 MB, free: 0.6367 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006689/0.007828, allocations: 1.009 MB / 259.1 MB, free: 15.62 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002175/0.008046, allocations: 160 kB / 259.3 MB, free: 15.46 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004718/0.008517, allocations: 0.5574 MB / 259.8 MB, free: 14.9 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003183/0.008836, allocations: 335.1 kB / 260.2 MB, free: 14.57 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 8.362e-05/0.008919, allocations: 92 kB / 260.2 MB, free: 14.48 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002569/0.009176, allocations: 211.9 kB / 260.5 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.009283, allocations: 203.3 kB / 260.7 MB, free: 14.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001872/0.009471, allocations: 295.2 kB / 260.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.01003, allocations: 0.7007 MB / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01003, allocations: 0 / 261.6 MB, free: 13.09 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.62e-07/0.01003, allocations: 4 kB / 261.6 MB, free: 13.08 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.01004, allocations: 0 / 261.6 MB, free: 13.08 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.001151/0.01119, allocations: 0.9978 MB / 262.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.889e-05/0.01122, allocations: 11.98 kB / 262.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.01132, allocations: 96.86 kB / 262.8 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.01168, allocations: 326.4 kB / 263.1 MB, free: 11.6 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.726e-05/0.01176, allocations: 130.9 kB / 263.2 MB, free: 11.46 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001159/0.01188, allocations: 64.73 kB / 263.3 MB, free: 11.39 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000519/0.0124, allocations: 0.5316 MB / 263.8 MB, free: 10.82 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.514e-05/0.01241, allocations: 3.938 kB / 263.8 MB, free: 10.81 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.01244, allocations: 24 kB / 263.8 MB, free: 10.79 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.906e-06/0.01245, allocations: 15.94 kB / 263.8 MB, free: 10.77 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.01271, allocations: 202.3 kB / 264 MB, free: 10.57 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001537/0.01424, allocations: 1.486 MB / 265.5 MB, free: 9.02 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002784/0.01452, allocations: 245.2 kB / 265.8 MB, free: 8.762 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000134/0.01466, allocations: 118.1 kB / 265.9 MB, free: 8.641 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.271e-05/0.01468, allocations: 12 kB / 265.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.406e-05/0.0147, allocations: 46.5 kB / 265.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of pre-optimization done (n=45): time 1.613e-06/0.01471, allocations: 0 / 265.9 MB, free: 8.574 MB / 250.7 MB Notification: Performance of matching and sorting (n=61): time 0.005145/0.01985, allocations: 2.496 MB / 268.4 MB, free: 6.047 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.919e-05/0.01988, allocations: 85.61 kB / 268.5 MB, free: 5.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.02015, allocations: 420.7 kB / 268.9 MB, free: 5.523 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.02018, allocations: 37.7 kB / 269 MB, free: 5.48 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001042/0.02028, allocations: 273.8 kB / 269.2 MB, free: 5.207 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.02038, allocations: 222 kB / 269.4 MB, free: 4.988 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.0205, allocations: 114.2 kB / 269.6 MB, free: 4.871 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.02059, allocations: 370.6 kB / 269.9 MB, free: 4.5 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.02069, allocations: 69.27 kB / 270 MB, free: 4.43 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00014/0.02083, allocations: 176.5 kB / 270.2 MB, free: 4.223 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.0211, allocations: 289.6 kB / 270.4 MB, free: 3.906 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.277e-06/0.02111, allocations: 8 kB / 270.4 MB, free: 3.898 MB / 250.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.0003699/0.02148, allocations: 341.8 kB / 270.8 MB, free: 3.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.02149, allocations: 4 kB / 270.8 MB, free: 3.551 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.0215, allocations: 4 kB / 270.8 MB, free: 3.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002037/0.0217, allocations: 45.12 kB / 270.8 MB, free: 3.5 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000352/0.02205, allocations: 159.8 kB / 271 MB, free: 3.344 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005382/0.02259, allocations: 1.194 MB / 272.2 MB, free: 2.062 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002068/0.0228, allocations: 31.98 kB / 272.2 MB, free: 2.031 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.487e-05/0.02282, allocations: 19.98 kB / 272.2 MB, free: 2.012 MB / 250.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.0001266/0.02295, allocations: 141.7 kB / 272.4 MB, free: 1.863 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.577e-05/0.02302, allocations: 51.95 kB / 272.4 MB, free: 1.812 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004979/0.02352, allocations: 435.8 kB / 272.8 MB, free: 1.375 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.009e-06/0.02353, allocations: 11.94 kB / 272.9 MB, free: 1.363 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.023e-06/0.02353, allocations: 3.984 kB / 272.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.02353, allocations: 0 / 272.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001218/0.02475, allocations: 0.8955 MB / 273.8 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.02475, allocations: 0 / 273.8 MB, free: 448 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.02499, allocations: 103.8 kB / 273.9 MB, free: 344 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000764/0.02576, allocations: 320.5 kB / 274.2 MB, free: 20 kB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.649e-05/0.02578, allocations: 19.98 kB / 274.2 MB, free: 0 / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/0.02748, allocations: 1.978 MB / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.02748, allocations: 0 / 276.2 MB, free: 13.93 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007952/0.02828, allocations: 0.7025 MB / 276.9 MB, free: 13.21 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.0284, allocations: 63.56 kB / 276.9 MB, free: 13.15 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.02845, allocations: 15.94 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.02867, allocations: 43.97 kB / 277 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.494e-05/0.02874, allocations: 56.48 kB / 277 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.02877, allocations: 15.98 kB / 277.1 MB, free: 13.02 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001536/0.02892, allocations: 191.5 kB / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02892, allocations: 0 / 277.3 MB, free: 12.83 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.02931, allocations: 184.1 kB / 277.4 MB, free: 12.65 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.0001791/0.02949, allocations: 132.2 kB / 277.6 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0004174/0.02991, allocations: 405.3 kB / 278 MB, free: 12.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.02991, allocations: 4 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003657/0.03028, allocations: 368.9 kB / 278.3 MB, free: 11.73 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.0306, allocations: 89.81 kB / 278.4 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001467/0.03207, allocations: 1.196 MB / 279.6 MB, free: 10.41 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.495e-05/0.03215, allocations: 140.3 kB / 279.7 MB, free: 10.25 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001747/0.03233, allocations: 68.66 kB / 279.8 MB, free: 10.18 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002221/0.03255, allocations: 151.3 kB / 280 MB, free: 10.04 MB / 266.7 MB Notification: Performance of SimCode: time 6.71e-07/0.03255, allocations: 3.938 kB / 280 MB, free: 10.03 MB / 266.7 MB Notification: Performance of Templates: time 0.01146/0.04401, allocations: 10.2 MB / 290.2 MB, free: 15.86 MB / 282.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FluxTubes.Examples.Hysteresis.SinglePhaseTransformerWithHysteresis2.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.762242049910128]