Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.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.0009859/0.0009859, 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.001031/0.001031, allocations: 165.3 kB / 25.7 MB, free: 8.328 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.924/0.924, allocations: 158.6 MB / 187.6 MB, free: 2.352 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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") translateModel(Modelica.Electrical.MultiPhase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.013e-05/2.235e-05, allocations: 2.312 kB / 251.5 MB, free: 7.254 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.003519/0.003541, allocations: 3.662 MB / 255.2 MB, free: 3.57 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001586/0.005127, allocations: 1.091 MB / 256.3 MB, free: 2.473 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.005366, allocations: 23.81 kB / 256.3 MB, free: 2.449 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002613/0.005627, allocations: 162.8 kB / 256.4 MB, free: 2.289 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005982/0.006226, allocations: 322 kB / 256.8 MB, free: 1.973 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002097/0.006435, allocations: 143.7 kB / 256.9 MB, free: 1.832 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009834/0.007419, allocations: 1.501 MB / 258.4 MB, free: 332 kB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005114/0.00793, allocations: 0.615 MB / 259 MB, free: 15.66 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007077/0.008638, allocations: 0.9434 MB / 260 MB, free: 14.71 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007222/0.00936, allocations: 0.7717 MB / 260.7 MB, free: 13.94 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001464/0.009506, allocations: 160 kB / 260.9 MB, free: 13.79 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001496/0.009656, allocations: 160 kB / 261 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002805/0.009936, allocations: 494.6 kB / 261.5 MB, free: 13.14 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003754/0.01031, allocations: 0.5145 MB / 262 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008003/0.01111, allocations: 1.25 MB / 263.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003e-06/0.01111, allocations: 0 / 263.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.01111, allocations: 0 / 263.3 MB, free: 11.38 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.516e-05/0.01113, allocations: 0 / 263.3 MB, free: 11.38 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001458/0.01259, allocations: 1.508 MB / 264.8 MB, free: 9.836 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.01262, allocations: 15.98 kB / 264.8 MB, free: 9.82 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001904/0.01281, allocations: 188.8 kB / 265 MB, free: 9.637 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005295/0.01334, allocations: 492.7 kB / 265.5 MB, free: 9.129 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.54e-05/0.01338, allocations: 82.62 kB / 265.6 MB, free: 9.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001126/0.0135, allocations: 112.4 kB / 265.7 MB, free: 8.938 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.01429, allocations: 0.927 MB / 266.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.01431, allocations: 0 / 266.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.389e-05/0.01437, allocations: 51.94 kB / 266.6 MB, free: 7.875 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.577e-05/0.01439, allocations: 24 kB / 266.7 MB, free: 7.852 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000359/0.01475, allocations: 247.4 kB / 266.9 MB, free: 7.598 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002536/0.01728, allocations: 2.53 MB / 269.4 MB, free: 4.965 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002856/0.01757, allocations: 301.6 kB / 269.7 MB, free: 4.66 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.01782, allocations: 207.2 kB / 269.9 MB, free: 4.457 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.142e-05/0.01784, allocations: 8.5 kB / 269.9 MB, free: 4.449 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.01786, allocations: 43.06 kB / 270 MB, free: 4.398 MB / 250.7 MB Notification: Performance of pre-optimization done (n=51): time 1.453e-06/0.01786, allocations: 0 / 270 MB, free: 4.398 MB / 250.7 MB Notification: Performance of matching and sorting (n=51): time 0.0003465/0.01821, allocations: 281.9 kB / 270.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.696e-05/0.01824, allocations: 55.91 kB / 270.3 MB, free: 4.051 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003339/0.01857, allocations: 0.5117 MB / 270.8 MB, free: 3.527 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.0186, allocations: 33.7 kB / 270.9 MB, free: 3.488 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001872/0.01878, allocations: 485 kB / 271.3 MB, free: 3.008 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.224e-05/0.01887, allocations: 182.4 kB / 271.5 MB, free: 2.828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.653e-05/0.01896, allocations: 94.3 kB / 271.6 MB, free: 2.73 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.01907, allocations: 386.6 kB / 272 MB, free: 2.344 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.01914, allocations: 53.28 kB / 272 MB, free: 2.293 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.01926, allocations: 143.6 kB / 272.2 MB, free: 2.117 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/0.01948, allocations: 245 kB / 272.4 MB, free: 1.848 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.01948, allocations: 0 / 272.4 MB, free: 1.848 MB / 250.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0002958/0.01978, allocations: 294.2 kB / 272.7 MB, free: 1.555 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.136e-05/0.01979, allocations: 8 kB / 272.7 MB, free: 1.547 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01979, allocations: 8 kB / 272.7 MB, free: 1.539 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.0198, allocations: 4 kB / 272.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.02009, allocations: 131.8 kB / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.0201, allocations: 16.27 kB / 272.9 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.02024, allocations: 47.62 kB / 272.9 MB, free: 1.344 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.02026, allocations: 12 kB / 272.9 MB, free: 1.332 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001413/0.0204, allocations: 140.5 kB / 273.1 MB, free: 1.184 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.006e-05/0.02047, allocations: 71.86 kB / 273.1 MB, free: 1.113 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.214e-05/0.02055, allocations: 78.83 kB / 273.2 MB, free: 1.027 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.02055, allocations: 4 kB / 273.2 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.02055, allocations: 0 / 273.2 MB, free: 1.023 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.02056, allocations: 7.938 kB / 273.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001016/0.02157, allocations: 1.088 MB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.02157, allocations: 0 / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.02181, allocations: 115.8 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.02181, allocations: 3.938 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.952e-05/0.02183, allocations: 12.16 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.02184, allocations: 4 kB / 274.4 MB, free: 15.74 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.02184, allocations: 4 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003903/0.02223, allocations: 472.2 kB / 274.9 MB, free: 15.24 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.0223, allocations: 83.38 kB / 275 MB, free: 15.16 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.978e-05/0.02235, allocations: 15.94 kB / 275 MB, free: 15.14 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001579/0.02251, allocations: 35.81 kB / 275 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.02256, allocations: 36.44 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.02258, allocations: 15.98 kB / 275.1 MB, free: 15.06 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001784/0.02276, allocations: 248.6 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02276, allocations: 4 kB / 275.3 MB, free: 14.82 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003353/0.02309, allocations: 283.1 kB / 275.6 MB, free: 14.54 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.586e-05/0.02319, allocations: 92.3 kB / 275.7 MB, free: 14.44 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002449/0.02343, allocations: 236.8 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.789e-06/0.02344, allocations: 8 kB / 275.9 MB, free: 14.2 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001091/0.02355, allocations: 124.6 kB / 276.1 MB, free: 14.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.02397, allocations: 175.2 kB / 276.2 MB, free: 13.9 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.02586, allocations: 1.875 MB / 278.1 MB, free: 11.97 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002006/0.02606, allocations: 302.7 kB / 278.4 MB, free: 11.65 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001604/0.02622, allocations: 85.62 kB / 278.5 MB, free: 11.56 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.02652, allocations: 213.2 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02653, allocations: 0 / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of Templates: time 0.01267/0.0392, allocations: 10.26 MB / 289 MB, free: 1.145 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & ./Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.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.722823197953403]