Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001512/0.001512, allocations: 111.9 kB / 19.17 MB, free: 3.91 MB / 14.72 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.001666/0.001666, allocations: 208.9 kB / 22.13 MB, free: 0.9609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.421/1.421, allocations: 230.4 MB / 255.4 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001872/0.001872, allocations: 67.83 kB / 374.7 MB, free: 9.762 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09991/0.1018, allocations: 53.31 MB / 428.1 MB, free: 4.355 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005382/0.1072, allocations: 3.818 MB / 431.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.1857/0.2929, allocations: 1.072 MB / 432.9 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002964/0.2932, allocations: 25.44 kB / 433 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003066/0.2935, allocations: 156.5 kB / 433.1 MB, free: 8.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007883/0.2943, allocations: 303.4 kB / 433.4 MB, free: 8.062 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002422/0.2945, allocations: 134.7 kB / 433.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.2957, allocations: 1.416 MB / 435 MB, free: 7.777 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009617/0.2966, allocations: 0.9135 MB / 435.9 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000804/0.2974, allocations: 0.6524 MB / 436.5 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009507/0.2984, allocations: 0.7922 MB / 437.3 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002097/0.2986, allocations: 158.8 kB / 437.5 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.2989, allocations: 161.8 kB / 437.6 MB, free: 7.352 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000398/0.2993, allocations: 474.7 kB / 438.1 MB, free: 7.102 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007034/0.3, allocations: 0.7478 MB / 438.8 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002149/0.3021, allocations: 2.079 MB / 440.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.3021, allocations: 0 / 440.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3021, allocations: 1.188 kB / 440.9 MB, free: 5.934 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.7e-05/0.3022, allocations: 0 / 440.9 MB, free: 5.934 MB / 350.1 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.002977/0.3052, allocations: 1.732 MB / 442.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.3052, allocations: 9.906 kB / 442.7 MB, free: 4.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004903/0.3057, allocations: 179 kB / 442.8 MB, free: 4.805 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001279/0.307, allocations: 0.9166 MB / 443.8 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.781e-05/0.307, allocations: 85.17 kB / 443.8 MB, free: 4.234 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.3072, allocations: 115.5 kB / 444 MB, free: 4.195 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.3096, allocations: 1.575 MB / 445.5 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.251e-05/0.3096, allocations: 3.938 kB / 445.5 MB, free: 3.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.771e-05/0.3097, allocations: 46.81 kB / 445.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.952e-05/0.3097, allocations: 26.34 kB / 445.6 MB, free: 3.527 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00203/0.3118, allocations: 1.329 MB / 446.9 MB, free: 3.074 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006126/0.3179, allocations: 4.279 MB / 451.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009998/0.3189, allocations: 1.3 MB / 452.5 MB, free: 15.84 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009125/0.3198, allocations: 0.4958 MB / 453 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.3198, allocations: 7.375 kB / 453 MB, free: 15.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.807e-05/0.3199, allocations: 38.84 kB / 453.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.865e-06/0.3199, allocations: 4 kB / 453.1 MB, free: 15.64 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001534/0.3214, allocations: 0.8839 MB / 453.9 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.3215, allocations: 56.88 kB / 454 MB, free: 15.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.3226, allocations: 0.8278 MB / 454.8 MB, free: 14.66 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.976e-05/0.3226, allocations: 35.86 kB / 454.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004209/0.323, allocations: 0.5522 MB / 455.4 MB, free: 14.13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001666/0.3232, allocations: 193 kB / 455.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001793/0.3234, allocations: 107.7 kB / 455.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000203/0.3236, allocations: 388.2 kB / 456.1 MB, free: 13.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.3241, allocations: 300.1 kB / 456.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005489/0.3246, allocations: 398.4 kB / 456.8 MB, free: 13.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001029/0.3256, allocations: 0.6842 MB / 457.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3256, allocations: 1.188 kB / 457.5 MB, free: 12.72 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001301/0.3269, allocations: 0.8328 MB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.327, allocations: 6.156 kB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.327, allocations: 1.594 kB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.327, allocations: 5.188 kB / 458.3 MB, free: 12.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.3276, allocations: 147.9 kB / 458.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3276, allocations: 8.531 kB / 458.4 MB, free: 12.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.328, allocations: 67.28 kB / 458.5 MB, free: 12.19 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.104e-05/0.3281, allocations: 21.56 kB / 458.5 MB, free: 12.18 MB / 366.1 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.0006853/0.3288, allocations: 465 kB / 459 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3289, allocations: 80.72 kB / 459.1 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3291, allocations: 93.52 kB / 459.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3291, allocations: 4.688 kB / 459.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3291, allocations: 1.188 kB / 459.2 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.3291, allocations: 7.984 kB / 459.2 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003024/0.3321, allocations: 1.95 MB / 461.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.3321, allocations: 2.469 kB / 461.1 MB, free: 10.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.3326, allocations: 117.4 kB / 461.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.091e-06/0.3326, allocations: 3.219 kB / 461.2 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.281e-05/0.3327, allocations: 12.66 kB / 461.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.59e-06/0.3327, allocations: 3.25 kB / 461.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.3327, allocations: 9.344 kB / 461.3 MB, free: 10.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001586/0.3343, allocations: 1.128 MB / 462.4 MB, free: 9.785 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002538/0.3345, allocations: 178.1 kB / 462.6 MB, free: 9.625 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.028e-05/0.3346, allocations: 13.09 kB / 462.6 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004364/0.3351, allocations: 46.56 kB / 462.6 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001121/0.3352, allocations: 49.77 kB / 462.7 MB, free: 9.566 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.272e-05/0.3352, allocations: 15.41 kB / 462.7 MB, free: 9.562 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008177/0.336, allocations: 0.5947 MB / 463.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.336, allocations: 1.281 kB / 463.3 MB, free: 9.227 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008293/0.3368, allocations: 283.9 kB / 463.6 MB, free: 9.148 MB / 366.1 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.0001474/0.337, allocations: 111.9 kB / 463.7 MB, free: 9.051 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.338, allocations: 0.6336 MB / 464.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.338, allocations: 0 / 464.3 MB, free: 8.754 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004577/0.3385, allocations: 309.4 kB / 464.6 MB, free: 8.613 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008775/0.3394, allocations: 182.6 kB / 464.8 MB, free: 8.535 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00362/0.343, allocations: 2.313 MB / 467.1 MB, free: 7.145 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009823/0.344, allocations: 1.324 MB / 468.4 MB, free: 6.117 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.3442, allocations: 54.09 kB / 468.5 MB, free: 6.109 MB / 366.1 MB Notification: Performance of SimCode: time 6.52e-07/0.3442, allocations: 0 / 468.5 MB, free: 6.109 MB / 366.1 MB Notification: Performance of Templates: time 0.02151/0.3657, allocations: 13.53 MB / 482 MB, free: 9.137 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.991789299994707]