Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001011/0.001011, allocations: 85.91 kB / 22.22 MB, free: 2.285 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009447/0.0009447, allocations: 161.5 kB / 25.61 MB, free: 8.582 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.001/1.001, allocations: 177 MB / 205.9 MB, free: 4.402 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 274.1 MB, free: 4.273 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.951e-05, allocations: 2.312 kB / 274.1 MB, free: 4.27 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00341/0.003429, allocations: 3.724 MB / 277.8 MB, free: 0.5352 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00151/0.00494, allocations: 1.023 MB / 278.8 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001753/0.005115, allocations: 30.28 kB / 278.9 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002567/0.005372, allocations: 158.8 kB / 279 MB, free: 15.33 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007626/0.006134, allocations: 304.1 kB / 279.3 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002874/0.006422, allocations: 143.6 kB / 279.5 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00132/0.007742, allocations: 1.451 MB / 280.9 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006365/0.008378, allocations: 0.6197 MB / 281.5 MB, free: 12.78 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009402/0.009319, allocations: 0.9557 MB / 282.5 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007319/0.01005, allocations: 0.7678 MB / 283.3 MB, free: 11.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001249/0.01018, allocations: 156 kB / 283.4 MB, free: 10.9 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000188/0.01036, allocations: 160 kB / 283.6 MB, free: 10.75 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002835/0.01065, allocations: 490.6 kB / 284 MB, free: 10.27 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003662/0.01101, allocations: 0.5184 MB / 284.6 MB, free: 9.746 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.01212, allocations: 1.239 MB / 285.8 MB, free: 8.504 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.01213, allocations: 3.984 kB / 285.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.01213, allocations: 0 / 285.8 MB, free: 8.5 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.01214, allocations: 0 / 285.8 MB, free: 8.5 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.001893/0.01403, allocations: 1.722 MB / 287.5 MB, free: 6.734 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.01407, allocations: 8.031 kB / 287.5 MB, free: 6.727 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004197/0.01449, allocations: 256 kB / 287.8 MB, free: 6.477 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007498/0.01524, allocations: 0.7049 MB / 288.5 MB, free: 5.742 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.419e-05/0.01528, allocations: 82.59 kB / 288.6 MB, free: 5.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.01539, allocations: 112.4 kB / 288.7 MB, free: 5.551 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001049/0.01644, allocations: 0.9654 MB / 289.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.01646, allocations: 0 / 289.7 MB, free: 4.496 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.01653, allocations: 51.94 kB / 289.7 MB, free: 4.445 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.214e-05/0.01658, allocations: 46.2 kB / 289.7 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004714/0.01705, allocations: 299.2 kB / 290 MB, free: 4.094 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0033/0.02035, allocations: 3.035 MB / 293.1 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003455/0.0207, allocations: 322.7 kB / 293.4 MB, free: 0.6172 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001919/0.02089, allocations: 152.3 kB / 293.5 MB, free: 476 kB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.269e-05/0.02091, allocations: 8.375 kB / 293.5 MB, free: 468 kB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.696e-05/0.02094, allocations: 41.77 kB / 293.6 MB, free: 416 kB / 266.7 MB Notification: Performance of pre-optimization done (n=46): time 3.366e-06/0.02094, allocations: 0 / 293.6 MB, free: 416 kB / 266.7 MB Notification: Performance of matching and sorting (n=47): time 0.001163/0.0221, allocations: 0.7843 MB / 294.4 MB, free: 15.58 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.685e-05/0.02213, allocations: 55.91 kB / 294.4 MB, free: 15.52 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007098/0.02284, allocations: 0.6748 MB / 295.1 MB, free: 14.82 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.02287, allocations: 33.7 kB / 295.1 MB, free: 14.79 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.02318, allocations: 0.639 MB / 295.8 MB, free: 14.14 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.02328, allocations: 174.5 kB / 295.9 MB, free: 13.96 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/0.0234, allocations: 115.9 kB / 296.1 MB, free: 13.84 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001837/0.02358, allocations: 0.5975 MB / 296.7 MB, free: 13.23 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.977e-05/0.02367, allocations: 57.25 kB / 296.7 MB, free: 13.18 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000149/0.02382, allocations: 206.7 kB / 296.9 MB, free: 12.93 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.02407, allocations: 295.8 kB / 297.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.02407, allocations: 0 / 297.2 MB, free: 12.59 MB / 282.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0004823/0.02456, allocations: 424.7 kB / 297.6 MB, free: 12.17 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.02457, allocations: 8 kB / 297.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.02458, allocations: 0 / 297.6 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001719/0.02475, allocations: 71.47 kB / 297.7 MB, free: 12.09 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002586/0.02501, allocations: 112 kB / 297.8 MB, free: 11.98 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001289/0.0263, allocations: 2.294 MB / 300.1 MB, free: 9.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.02648, allocations: 20 kB / 300.1 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.036e-05/0.0265, allocations: 12 kB / 300.1 MB, free: 9.547 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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.0002134/0.02671, allocations: 200.3 kB / 300.3 MB, free: 9.34 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.485e-05/0.0268, allocations: 87.53 kB / 300.4 MB, free: 9.254 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.519e-05/0.02687, allocations: 83.06 kB / 300.5 MB, free: 9.168 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.02688, allocations: 8 kB / 300.5 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/0.02689, allocations: 0 / 300.5 MB, free: 9.16 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.02689, allocations: 3.984 kB / 300.5 MB, free: 9.156 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001419/0.02831, allocations: 1.336 MB / 301.8 MB, free: 7.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.02832, allocations: 7.938 kB / 301.8 MB, free: 7.758 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001641/0.02848, allocations: 75.89 kB / 301.9 MB, free: 7.684 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000386/0.02887, allocations: 71.64 kB / 302 MB, free: 7.609 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.161e-05/0.02889, allocations: 8 kB / 302 MB, free: 7.602 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001136/0.03002, allocations: 2.275 MB / 304.3 MB, free: 5.207 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.03003, allocations: 4 kB / 304.3 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.03055, allocations: 0.5777 MB / 304.9 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.434e-05/0.03063, allocations: 71.52 kB / 304.9 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.973e-05/0.03068, allocations: 19.92 kB / 304.9 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001708/0.03085, allocations: 32.05 kB / 305 MB, free: 4.473 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.516e-05/0.03092, allocations: 39.88 kB / 305 MB, free: 4.434 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.838e-05/0.03094, allocations: 12.05 kB / 305 MB, free: 4.422 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002752/0.03121, allocations: 406.9 kB / 305.4 MB, free: 4.031 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03121, allocations: 4 kB / 305.4 MB, free: 4.027 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005691/0.03178, allocations: 208 kB / 305.6 MB, free: 3.824 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.0001262/0.03191, allocations: 107.2 kB / 305.7 MB, free: 3.711 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000515/0.03242, allocations: 471.7 kB / 306.2 MB, free: 3.23 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.03242, allocations: 3.938 kB / 306.2 MB, free: 3.227 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.03271, allocations: 358.9 kB / 306.5 MB, free: 2.855 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004915/0.03321, allocations: 158.9 kB / 306.7 MB, free: 2.699 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00226/0.03547, allocations: 1.86 MB / 308.6 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.03571, allocations: 363 kB / 308.9 MB, free: 412 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001864/0.0359, allocations: 85.5 kB / 309 MB, free: 324 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.03641, allocations: 242.1 kB / 309.2 MB, free: 80 kB / 282.7 MB Notification: Performance of SimCode: time 1.112e-06/0.03641, allocations: 0 / 309.2 MB, free: 80 kB / 282.7 MB Notification: Performance of Templates: time 0.0152/0.05162, allocations: 11.04 MB / 320.3 MB, free: 5.242 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/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.916702268179506]