Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 79.91 kB / 21.18 MB, free: 3.391 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001401/0.001401, allocations: 145.1 kB / 24.54 MB, free: 32 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8967/0.8967, allocations: 173.3 MB / 201.1 MB, free: 9.332 MB / 186.7 MB " [Timeout remaining time 179] 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.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") translateModel(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100,variableFilter="time|source.plug_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 268 MB, free: 6.426 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.692e-05/2.865e-05, allocations: 6.25 kB / 268 MB, free: 6.418 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.1334/0.1334, allocations: 27.66 MB / 295.7 MB, free: 14.24 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.02677/0.1602, allocations: 7.123 MB / 302.8 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01283/0.173, allocations: 315 kB / 303.1 MB, free: 13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02685/0.1998, allocations: 14.06 MB / 317.2 MB, free: 6.473 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008212/0.2081, allocations: 2.827 MB / 320 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003817/0.2119, allocations: 1.886 MB / 321.9 MB, free: 2.707 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01537/0.2272, allocations: 18.94 MB / 340.8 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03902/0.2663, allocations: 28.2 MB / 369 MB, free: 5.133 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02413/0.2904, allocations: 15.27 MB / 384.3 MB, free: 5.879 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01476/0.3051, allocations: 11.14 MB / 395.4 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00734/0.3125, allocations: 2.918 MB / 398.3 MB, free: 7.801 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01027/0.3228, allocations: 3.167 MB / 401.5 MB, free: 4.633 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007198/0.3299, allocations: 5.673 MB / 407.2 MB, free: 14.95 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01365/0.3436, allocations: 7.338 MB / 414.5 MB, free: 7.594 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02285/0.3665, allocations: 18.31 MB / 432.8 MB, free: 5.23 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.3665, allocations: 0 / 432.8 MB, free: 5.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.056e-06/0.3665, allocations: 0 / 432.8 MB, free: 5.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0007759/0.3672, allocations: 0 / 432.8 MB, free: 5.23 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.3261/0.6934, allocations: 23.9 MB / 456.7 MB, free: 91.69 MB / 378.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.6934, allocations: 10.72 kB / 456.7 MB, free: 91.69 MB / 378.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.029/0.7224, allocations: 10.85 MB / 467.6 MB, free: 83.84 MB / 378.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01702/0.7394, allocations: 11.1 MB / 478.7 MB, free: 73.95 MB / 378.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001074/0.7405, allocations: 1.34 MB / 480 MB, free: 72.62 MB / 378.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004269/0.7448, allocations: 1.759 MB / 481.8 MB, free: 70.87 MB / 378.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04415/0.7889, allocations: 15.24 MB / 497 MB, free: 55.53 MB / 378.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006493/0.7896, allocations: 19.23 kB / 497 MB, free: 55.52 MB / 378.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004043/0.7936, allocations: 0.7284 MB / 497.8 MB, free: 54.8 MB / 378.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006174/0.7942, allocations: 0.8415 MB / 498.6 MB, free: 53.95 MB / 378.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02788/0.8221, allocations: 7.24 MB / 0.494 GB, free: 46.7 MB / 378.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1002/0.9224, allocations: 71.44 MB / 0.5637 GB, free: 7.5 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01164/0.934, allocations: 10.24 MB / 0.5737 GB, free: 15.3 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003867/0.9379, allocations: 2.602 MB / 0.5763 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002865/0.9382, allocations: 144.4 kB / 0.5764 GB, free: 12.55 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.302e-05/0.9382, allocations: 93.91 kB / 0.5765 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=577): time 8.115e-06/0.9382, allocations: 0 / 0.5765 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=577): time 0.01791/0.9561, allocations: 8.417 MB / 0.5847 GB, free: 3.98 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.759e-05/0.9562, allocations: 137.6 kB / 0.5849 GB, free: 3.824 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2603/1.216, allocations: 6.329 MB / 0.591 GB, free: 108.4 MB / 426.9 MB Notification: Performance of collectPreVariables (initialization): time 0.0008859/1.217, allocations: 121.7 kB / 0.5912 GB, free: 108.4 MB / 426.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.005063/1.222, allocations: 8.392 MB / 0.5994 GB, free: 105.3 MB / 426.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.002562/1.225, allocations: 2.176 MB / 0.6015 GB, free: 104 MB / 426.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003171/1.228, allocations: 2.431 MB / 0.6039 GB, free: 103.8 MB / 426.9 MB Notification: Performance of setup shared object (initialization): time 5.179e-05/1.228, allocations: 478.8 kB / 0.6043 GB, free: 103.3 MB / 426.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002875/1.231, allocations: 1.391 MB / 0.6057 GB, free: 103.3 MB / 426.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004613/1.236, allocations: 8.591 MB / 0.6141 GB, free: 94.57 MB / 426.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008974/1.245, allocations: 11.01 MB / 0.6248 GB, free: 85.74 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000228/1.245, allocations: 46.53 kB / 0.6249 GB, free: 85.74 MB / 426.9 MB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.01509/1.26, allocations: 8.931 MB / 0.6336 GB, free: 85 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001129/1.26, allocations: 74.03 kB / 0.6336 GB, free: 85 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001746/1.26, allocations: 161 kB / 0.6338 GB, free: 85 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00352/1.264, allocations: 1.608 MB / 0.6354 GB, free: 84.88 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004961/1.269, allocations: 2.351 MB / 0.6377 GB, free: 84.88 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007076/1.276, allocations: 7.291 MB / 0.6448 GB, free: 82.59 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005701/1.282, allocations: 1.356 MB / 0.6461 GB, free: 81.94 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001439/1.283, allocations: 0.5287 MB / 0.6466 GB, free: 81.94 MB / 426.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003954/1.287, allocations: 0.884 MB / 0.6475 GB, free: 81.68 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001103/1.288, allocations: 0.8099 MB / 0.6483 GB, free: 81.32 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006344/1.294, allocations: 5.87 MB / 0.654 GB, free: 77.76 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003933/1.298, allocations: 3.367 MB / 0.6573 GB, free: 74.69 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.159e-05/1.298, allocations: 12 kB / 0.6573 GB, free: 74.68 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-05/1.298, allocations: 28.64 kB / 0.6573 GB, free: 74.68 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02367/1.322, allocations: 18.22 MB / 0.6751 GB, free: 58.69 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.427e-05/1.322, allocations: 9.688 kB / 0.6751 GB, free: 58.68 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001992/1.324, allocations: 1.012 MB / 0.6761 GB, free: 57.89 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003042/1.327, allocations: 1.408 MB / 0.6775 GB, free: 56.88 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002588/1.327, allocations: 122 kB / 0.6776 GB, free: 56.77 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006054/1.333, allocations: 6.928 MB / 0.6844 GB, free: 50.38 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/1.333, allocations: 18.8 kB / 0.6844 GB, free: 50.36 MB / 426.9 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007695/1.341, allocations: 6.324 MB / 0.6906 GB, free: 43.7 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00205/1.343, allocations: 1.274 MB / 0.6918 GB, free: 42.42 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005668/1.344, allocations: 106 kB / 0.6919 GB, free: 42.32 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001411/1.345, allocations: 331.7 kB / 0.6922 GB, free: 42 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005515/1.346, allocations: 419.2 kB / 0.6926 GB, free: 41.59 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002043/1.346, allocations: 164 kB / 0.6928 GB, free: 41.43 MB / 426.9 MB Notification: Performance of sorting global known variables: time 0.003555/1.349, allocations: 2.614 MB / 0.6954 GB, free: 38.84 MB / 426.9 MB Notification: Performance of sort global known variables: time 1e-07/1.349, allocations: 0 / 0.6954 GB, free: 38.84 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.009139/1.359, allocations: 4.11 MB / 0.6994 GB, free: 34.72 MB / 426.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.plug_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008167/1.359, allocations: 330.5 kB / 0.6997 GB, free: 34.46 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.01009/1.369, allocations: 6.528 MB / 0.7061 GB, free: 28.34 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 9.237e-06/1.369, allocations: 0 / 0.7061 GB, free: 28.34 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.003585/1.373, allocations: 2.73 MB / 0.7087 GB, free: 25.7 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005104/1.378, allocations: 1.486 MB / 0.7102 GB, free: 24.29 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03381/1.412, allocations: 24.75 MB / 0.7344 GB, free: 15.21 MB / 442.9 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004525/1.417, allocations: 4.904 MB / 0.7391 GB, free: 10.27 MB / 442.9 MB Notification: Performance of simCode: alias equations: time 0.005755/1.422, allocations: 3.195 MB / 0.7423 GB, free: 7.062 MB / 442.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.423, allocations: 0.5063 MB / 0.7428 GB, free: 6.555 MB / 442.9 MB Notification: Performance of SimCode: time 2.975e-06/1.423, allocations: 0 / 0.7428 GB, free: 6.555 MB / 442.9 MB Notification: Performance of Templates: time 0.2489/1.672, allocations: 93.56 MB / 0.8341 GB, free: 58.12 MB / 442.9 MB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.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: 5.9250993500463665]