Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001148/0.001148, allocations: 80.62 kB / 22.21 MB, free: 2.285 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.001018/0.001018, allocations: 143.6 kB / 25.59 MB, free: 8.902 MB / 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.9686/0.9686, allocations: 173.4 MB / 202.2 MB, free: 8.246 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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.08e-05/2.227e-05, allocations: 2.312 kB / 269.2 MB, free: 9.766 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003957/0.003979, allocations: 3.692 MB / 272.9 MB, free: 6.07 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001787/0.005766, allocations: 0.9866 MB / 273.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002909/0.006057, allocations: 31.75 kB / 273.9 MB, free: 5.055 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002923/0.006349, allocations: 155.4 kB / 274 MB, free: 4.902 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008012/0.007151, allocations: 324.7 kB / 274.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002516/0.007402, allocations: 127.8 kB / 274.5 MB, free: 4.461 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001262/0.008664, allocations: 1.455 MB / 275.9 MB, free: 3 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007446/0.009409, allocations: 0.6479 MB / 276.6 MB, free: 2.312 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.01049, allocations: 0.9557 MB / 277.5 MB, free: 1.355 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008449/0.01134, allocations: 0.7818 MB / 278.3 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.01149, allocations: 156 kB / 278.5 MB, free: 432 kB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.01165, allocations: 160 kB / 278.6 MB, free: 272 kB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002889/0.01194, allocations: 494.7 kB / 279.1 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004194/0.01236, allocations: 0.5223 MB / 279.6 MB, free: 15.25 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008747/0.01323, allocations: 1.244 MB / 280.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.125e-06/0.01324, allocations: 0 / 280.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.01324, allocations: 0 / 280.9 MB, free: 14.01 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.483e-05/0.01325, allocations: 0.5 kB / 280.9 MB, free: 14.01 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001648/0.0149, allocations: 1.735 MB / 282.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.01494, allocations: 12.03 kB / 282.6 MB, free: 12.22 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002274/0.01516, allocations: 236 kB / 282.9 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006648/0.01583, allocations: 0.6893 MB / 283.5 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.717e-05/0.01588, allocations: 86.62 kB / 283.6 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001093/0.01599, allocations: 116.4 kB / 283.7 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008885/0.01687, allocations: 0.9735 MB / 284.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.01689, allocations: 0 / 284.7 MB, free: 10.01 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.465e-05/0.01696, allocations: 48 kB / 284.8 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.01697, allocations: 24 kB / 284.8 MB, free: 9.941 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.01739, allocations: 291.2 kB / 285.1 MB, free: 9.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003044/0.02044, allocations: 3.152 MB / 288.2 MB, free: 6.371 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.02078, allocations: 348.6 kB / 288.6 MB, free: 6.023 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.02108, allocations: 241.6 kB / 288.8 MB, free: 5.789 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.0211, allocations: 16.44 kB / 288.8 MB, free: 5.773 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.02114, allocations: 41.89 kB / 288.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.834e-06/0.02114, allocations: 0 / 288.9 MB, free: 5.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004648/0.0216, allocations: 356.6 kB / 289.2 MB, free: 5.371 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.896e-05/0.02163, allocations: 59.91 kB / 289.3 MB, free: 5.301 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.02209, allocations: 0.6632 MB / 289.9 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.02212, allocations: 37.7 kB / 290 MB, free: 4.582 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.02242, allocations: 0.6351 MB / 290.6 MB, free: 3.938 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001017/0.02252, allocations: 190.4 kB / 290.8 MB, free: 3.75 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.02263, allocations: 115.9 kB / 290.9 MB, free: 3.629 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.02282, allocations: 0.5858 MB / 291.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.02291, allocations: 61.27 kB / 291.5 MB, free: 2.973 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001574/0.02306, allocations: 195.7 kB / 291.7 MB, free: 2.742 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002549/0.02332, allocations: 278.7 kB / 292 MB, free: 2.426 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.02332, allocations: 11.94 kB / 292 MB, free: 2.414 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.000385/0.02371, allocations: 380.9 kB / 292.4 MB, free: 2.035 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.02372, allocations: 4 kB / 292.4 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.02373, allocations: 4 kB / 292.4 MB, free: 2.027 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.02374, allocations: 7.984 kB / 292.4 MB, free: 2.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003139/0.02406, allocations: 140.1 kB / 292.5 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.02406, allocations: 4 kB / 292.5 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001592/0.02422, allocations: 51.61 kB / 292.6 MB, free: 1.828 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.177e-05/0.02424, allocations: 16 kB / 292.6 MB, free: 1.812 MB / 266.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.0001621/0.02441, allocations: 188.4 kB / 292.8 MB, free: 1.617 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.618e-05/0.02449, allocations: 91.53 kB / 292.9 MB, free: 1.527 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.922e-05/0.02457, allocations: 78.83 kB / 293 MB, free: 1.445 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.408e-06/0.02458, allocations: 8 kB / 293 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.02458, allocations: 0 / 293 MB, free: 1.438 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.02458, allocations: 7.922 kB / 293 MB, free: 1.43 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.02591, allocations: 1.382 MB / 294.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02591, allocations: 4 kB / 294.4 MB, free: 15.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002563/0.02617, allocations: 116 kB / 294.5 MB, free: 15.87 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.02617, allocations: 3.938 kB / 294.5 MB, free: 15.86 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.51e-05/0.0262, allocations: 16 kB / 294.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/0.0262, allocations: 0 / 294.5 MB, free: 15.85 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.0262, allocations: 7.938 kB / 294.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004781/0.02668, allocations: 0.5801 MB / 295.1 MB, free: 15.22 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.02676, allocations: 91.31 kB / 295.2 MB, free: 15.13 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.934e-05/0.02681, allocations: 12 kB / 295.2 MB, free: 15.12 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.027, allocations: 43.97 kB / 295.2 MB, free: 15.07 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.092e-05/0.02706, allocations: 36.38 kB / 295.3 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.884e-05/0.02708, allocations: 12 kB / 295.3 MB, free: 15.03 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002422/0.02732, allocations: 406.9 kB / 295.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.02732, allocations: 0 / 295.7 MB, free: 14.64 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004201/0.02774, allocations: 283.1 kB / 296 MB, free: 14.36 MB / 282.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 0.0001296/0.02787, allocations: 111.2 kB / 296.1 MB, free: 14.24 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002902/0.02816, allocations: 263.1 kB / 296.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.02816, allocations: 4 kB / 296.3 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001302/0.02829, allocations: 139.4 kB / 296.5 MB, free: 13.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000517/0.02881, allocations: 179.5 kB / 296.6 MB, free: 13.66 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002071/0.03088, allocations: 1.944 MB / 298.6 MB, free: 11.65 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002239/0.0311, allocations: 358.7 kB / 298.9 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.03129, allocations: 89.64 kB / 299 MB, free: 11.19 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003362/0.03162, allocations: 250.1 kB / 299.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of SimCode: time 1.573e-06/0.03162, allocations: 0 / 299.3 MB, free: 10.94 MB / 282.7 MB Notification: Performance of Templates: time 0.01341/0.04503, allocations: 10.61 MB / 309.9 MB, free: 0.5312 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/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.931048748549074]