Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.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.0009981/0.0009981, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001779/0.002777, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0009686/0.0009686, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002334, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.073/1.073, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08394/1.157, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.[0-9,]+..i",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.613e-06/1.613e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.044e-05/2.205e-05, allocations: 2.312 kB / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005006/0.005028, allocations: 3.788 MB / 248.5 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.00242/0.007448, allocations: 1.113 MB / 249.6 MB, free: 9.301 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003979/0.007846, allocations: 27.81 kB / 249.6 MB, free: 9.273 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.00818, allocations: 162.8 kB / 249.8 MB, free: 9.113 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009279/0.009108, allocations: 321.9 kB / 250.1 MB, free: 8.797 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003192/0.009427, allocations: 139.8 kB / 250.2 MB, free: 8.66 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001458/0.01089, allocations: 1.474 MB / 251.7 MB, free: 7.18 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000882/0.01177, allocations: 0.6669 MB / 252.4 MB, free: 6.461 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001468/0.01323, allocations: 1.04 MB / 253.4 MB, free: 5.422 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001282/0.01452, allocations: 0.7795 MB / 254.2 MB, free: 4.641 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003541/0.01487, allocations: 160 kB / 254.4 MB, free: 4.484 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003709/0.01524, allocations: 167.9 kB / 254.5 MB, free: 4.32 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00038/0.01562, allocations: 403 kB / 254.9 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006559/0.01628, allocations: 431.2 kB / 255.3 MB, free: 3.504 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001518/0.0178, allocations: 1.168 MB / 256.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.306e-05/0.01781, allocations: 0 / 256.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.01781, allocations: 0 / 256.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.01783, allocations: 0 / 256.5 MB, free: 2.332 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.001798/0.01963, allocations: 1.808 MB / 258.3 MB, free: 0.4922 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.01967, allocations: 8.031 kB / 258.3 MB, free: 496 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004876/0.02016, allocations: 289.9 kB / 258.6 MB, free: 188 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008105/0.02097, allocations: 0.5436 MB / 259.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.099e-05/0.02103, allocations: 82.62 kB / 259.2 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000153/0.02118, allocations: 112.4 kB / 259.3 MB, free: 15.42 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.02229, allocations: 0.9309 MB / 260.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.02231, allocations: 0 / 260.3 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.122e-05/0.0224, allocations: 48 kB / 260.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.02243, allocations: 28 kB / 260.3 MB, free: 14.33 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005038/0.02293, allocations: 259.3 kB / 260.6 MB, free: 14.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003445/0.02637, allocations: 2.534 MB / 263.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004416/0.02682, allocations: 313.5 kB / 263.4 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000344/0.02716, allocations: 218.7 kB / 263.6 MB, free: 10.9 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.625e-05/0.02719, allocations: 8.5 kB / 263.7 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.6e-05/0.02721, allocations: 39.06 kB / 263.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=51): time 1.643e-06/0.02721, allocations: 0 / 263.7 MB, free: 10.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=51): time 0.0004435/0.02766, allocations: 274 kB / 264 MB, free: 10.57 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.796e-05/0.02769, allocations: 59.91 kB / 264 MB, free: 10.5 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.02814, allocations: 0.5234 MB / 264.5 MB, free: 9.965 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.02817, allocations: 33.7 kB / 264.6 MB, free: 9.926 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003461/0.02851, allocations: 489 kB / 265.1 MB, free: 9.441 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001074/0.02862, allocations: 186.4 kB / 265.2 MB, free: 9.258 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001303/0.02875, allocations: 98.3 kB / 265.3 MB, free: 9.156 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.02888, allocations: 386.6 kB / 265.7 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/0.02897, allocations: 49.28 kB / 265.8 MB, free: 8.723 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001548/0.02913, allocations: 143.6 kB / 265.9 MB, free: 8.551 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.02944, allocations: 257.1 kB / 266.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.02944, allocations: 0 / 266.1 MB, free: 8.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0004113/0.02985, allocations: 290.2 kB / 266.4 MB, free: 7.98 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.02987, allocations: 4 kB / 266.4 MB, free: 7.977 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.02987, allocations: 4 kB / 266.4 MB, free: 7.973 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.02989, allocations: 4 kB / 266.4 MB, free: 7.969 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006065/0.0305, allocations: 207 kB / 266.6 MB, free: 7.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.03051, allocations: 8 kB / 266.7 MB, free: 7.762 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002009/0.03071, allocations: 47.62 kB / 266.7 MB, free: 7.715 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.03074, allocations: 12 kB / 266.7 MB, free: 7.703 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.0001716/0.03091, allocations: 144.5 kB / 266.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.03101, allocations: 71.92 kB / 266.9 MB, free: 7.48 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001086/0.03112, allocations: 79.08 kB / 267 MB, free: 7.398 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.03112, allocations: 4 kB / 267 MB, free: 7.395 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.03113, allocations: 4 kB / 267 MB, free: 7.391 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.03113, allocations: 3.984 kB / 267 MB, free: 7.387 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.03248, allocations: 1.099 MB / 268.1 MB, free: 6.234 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-06/0.03248, allocations: 3.938 kB / 268.1 MB, free: 6.23 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000455/0.03294, allocations: 165.8 kB / 268.3 MB, free: 6.07 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.554e-05/0.03303, allocations: 79.38 kB / 268.4 MB, free: 5.992 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.03304, allocations: 4 kB / 268.4 MB, free: 5.988 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.187e-05/0.03307, allocations: 16.16 kB / 268.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.051e-06/0.03308, allocations: 7.938 kB / 268.4 MB, free: 5.965 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.03308, allocations: 3.938 kB / 268.4 MB, free: 5.961 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007446/0.03382, allocations: 468.2 kB / 268.8 MB, free: 5.469 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.503e-05/0.03389, allocations: 12 kB / 268.9 MB, free: 5.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005793/0.03447, allocations: 31.98 kB / 268.9 MB, free: 5.426 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.084e-05/0.03454, allocations: 44.31 kB / 268.9 MB, free: 5.383 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.03457, allocations: 15.98 kB / 268.9 MB, free: 5.367 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002444/0.03481, allocations: 252.6 kB / 269.2 MB, free: 5.121 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03481, allocations: 0 / 269.2 MB, free: 5.121 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004799/0.03529, allocations: 291 kB / 269.5 MB, free: 4.836 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 0.000126/0.03542, allocations: 96.34 kB / 269.6 MB, free: 4.734 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003224/0.03574, allocations: 225.6 kB / 269.8 MB, free: 4.512 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.352e-05/0.03576, allocations: 28.06 kB / 269.8 MB, free: 4.484 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001972/0.03596, allocations: 149.6 kB / 270 MB, free: 4.336 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.03714, allocations: 1.807 MB / 271.8 MB, free: 2.176 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007688/0.04483, allocations: 2.08 MB / 273.8 MB, free: 36 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002914/0.04512, allocations: 329.4 kB / 274.2 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002353/0.04535, allocations: 85.91 kB / 274.3 MB, free: 15.61 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004316/0.04578, allocations: 221.2 kB / 274.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of SimCode: time 8.41e-07/0.04579, allocations: 0 / 274.5 MB, free: 15.39 MB / 282.7 MB Notification: Performance of Templates: time 0.01749/0.06327, allocations: 11.38 MB / 285.8 MB, free: 4.234 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.678158008493483]