Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.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.0009624/0.0009624, allocations: 84.3 kB / 22.21 MB, free: 2.293 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.00104/0.00104, allocations: 166.2 kB / 25.6 MB, free: 8.605 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.9764/0.9764, allocations: 158.6 MB / 187.5 MB, free: 2.805 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.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.651e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYY): time 0.003935/0.003962, allocations: 3.639 MB / 255.1 MB, free: 3.605 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001933/0.005895, allocations: 1.01 MB / 256.1 MB, free: 2.59 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.006181, allocations: 23.81 kB / 256.1 MB, free: 2.566 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.006465, allocations: 162.8 kB / 256.3 MB, free: 2.406 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007134/0.007179, allocations: 302 kB / 256.6 MB, free: 2.109 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.007464, allocations: 135.8 kB / 256.7 MB, free: 1.977 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001078/0.008541, allocations: 1.458 MB / 258.2 MB, free: 0.5078 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005571/0.009098, allocations: 0.5756 MB / 258.7 MB, free: 15.9 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009673/0.01007, allocations: 0.9201 MB / 259.7 MB, free: 14.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.01124, allocations: 0.7678 MB / 260.4 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000248/0.01149, allocations: 156 kB / 260.6 MB, free: 14.05 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002113/0.0117, allocations: 160 kB / 260.7 MB, free: 13.9 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.01199, allocations: 478.6 kB / 261.2 MB, free: 13.43 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004992/0.01249, allocations: 0.5184 MB / 261.7 MB, free: 12.91 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009829/0.01348, allocations: 1.231 MB / 263 MB, free: 11.68 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.01348, allocations: 0 / 263 MB, free: 11.68 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01348, allocations: 0 / 263 MB, free: 11.68 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.305e-05/0.01353, allocations: 0 / 263 MB, free: 11.68 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001977/0.0155, allocations: 1.703 MB / 264.7 MB, free: 9.93 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.01554, allocations: 11.98 kB / 264.7 MB, free: 9.918 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002351/0.01578, allocations: 236 kB / 264.9 MB, free: 9.688 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006358/0.01641, allocations: 0.6192 MB / 265.5 MB, free: 9.039 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.708e-05/0.01646, allocations: 82.59 kB / 265.6 MB, free: 8.957 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001056/0.01657, allocations: 112.4 kB / 265.7 MB, free: 8.848 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009191/0.01748, allocations: 0.9575 MB / 266.7 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.0175, allocations: 0 / 266.7 MB, free: 7.801 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.069e-05/0.01756, allocations: 48 kB / 266.7 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.674e-05/0.01758, allocations: 24 kB / 266.7 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004214/0.018, allocations: 295 kB / 267 MB, free: 7.43 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003602/0.0216, allocations: 3.082 MB / 270.1 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003246/0.02193, allocations: 316.1 kB / 270.4 MB, free: 3.914 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.02213, allocations: 177.8 kB / 270.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.02216, allocations: 12.5 kB / 270.6 MB, free: 3.723 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.652e-05/0.02219, allocations: 37.89 kB / 270.6 MB, free: 3.676 MB / 250.7 MB Notification: Performance of pre-optimization done (n=49): time 1.904e-06/0.02219, allocations: 0 / 270.6 MB, free: 3.676 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.001216/0.0234, allocations: 0.8504 MB / 271.5 MB, free: 2.781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.02343, allocations: 55.91 kB / 271.5 MB, free: 2.715 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.02393, allocations: 0.6593 MB / 272.2 MB, free: 2.039 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.623e-05/0.02395, allocations: 37.7 kB / 272.2 MB, free: 1.996 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002893/0.02424, allocations: 0.6274 MB / 272.9 MB, free: 1.359 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.02435, allocations: 198.4 kB / 273.1 MB, free: 1.164 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.02446, allocations: 111.9 kB / 273.2 MB, free: 1.047 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001879/0.02465, allocations: 0.5937 MB / 273.8 MB, free: 452 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.438e-05/0.02473, allocations: 57.25 kB / 273.8 MB, free: 396 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001501/0.02488, allocations: 203.4 kB / 274 MB, free: 144 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002629/0.02514, allocations: 290.4 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.02515, allocations: 7.938 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000728/0.02588, allocations: 428.6 kB / 274.7 MB, free: 15.38 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/0.02589, allocations: 8.062 kB / 274.7 MB, free: 15.37 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.0259, allocations: 4 kB / 274.7 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001581/0.02606, allocations: 67.53 kB / 274.8 MB, free: 15.29 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002502/0.02631, allocations: 111.9 kB / 274.9 MB, free: 15.18 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001245/0.02755, allocations: 2.306 MB / 277.2 MB, free: 12.77 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.02772, allocations: 19.98 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.041e-05/0.02774, allocations: 12 kB / 277.3 MB, free: 12.73 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002144/0.02796, allocations: 188.6 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.964e-05/0.02804, allocations: 91.47 kB / 277.5 MB, free: 12.45 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.754e-05/0.0281, allocations: 86.83 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.02811, allocations: 4 kB / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.02811, allocations: 0 / 277.6 MB, free: 12.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.02812, allocations: 3.984 kB / 277.6 MB, free: 12.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001509/0.02963, allocations: 1.421 MB / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.02963, allocations: 0 / 279 MB, free: 10.86 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.0298, allocations: 80.05 kB / 279.1 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001368/0.02994, allocations: 75.56 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.02996, allocations: 19.92 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/0.03106, allocations: 2.279 MB / 281.5 MB, free: 8.289 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.03106, allocations: 7.938 kB / 281.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007535/0.03182, allocations: 0.6265 MB / 282.1 MB, free: 7.613 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.956e-05/0.03191, allocations: 75.5 kB / 282.2 MB, free: 7.539 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.3e-05/0.03195, allocations: 16.06 kB / 282.2 MB, free: 7.523 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.03211, allocations: 31.98 kB / 282.2 MB, free: 7.492 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.482e-05/0.03219, allocations: 40.36 kB / 282.3 MB, free: 7.449 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.089e-05/0.03221, allocations: 16 kB / 282.3 MB, free: 7.434 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000286/0.03249, allocations: 398.9 kB / 282.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.03249, allocations: 0 / 282.7 MB, free: 7.051 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007424/0.03323, allocations: 212 kB / 282.9 MB, free: 6.844 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * 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,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001478/0.03338, allocations: 111.2 kB / 283 MB, free: 6.727 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0006106/0.03399, allocations: 487.9 kB / 283.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.034, allocations: 0 / 283.5 MB, free: 6.238 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003714/0.03437, allocations: 374 kB / 283.8 MB, free: 5.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006644/0.03503, allocations: 174.8 kB / 284 MB, free: 5.676 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002675/0.03771, allocations: 1.866 MB / 285.9 MB, free: 3.746 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000307/0.03801, allocations: 370.8 kB / 286.2 MB, free: 3.363 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.03824, allocations: 85.62 kB / 286.3 MB, free: 3.277 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003831/0.03863, allocations: 242.1 kB / 286.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of SimCode: time 7.52e-07/0.03863, allocations: 0 / 286.6 MB, free: 3.039 MB / 266.7 MB Notification: Performance of Templates: time 0.01706/0.05569, allocations: 10.93 MB / 297.5 MB, free: 8.16 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYY/TransformerYY.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.909054612275213]