Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) 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.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYY,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00124/0.00124, allocations: 112.9 kB / 17.83 MB, free: 5.207 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001281/0.001281, allocations: 208.6 kB / 18.79 MB, free: 4.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.442/1.442, allocations: 230.4 MB / 250 MB, free: 9.035 MB / 206.1 MB 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.001875/0.001875, allocations: 59.84 kB / 367.3 MB, free: 7.035 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.2854, allocations: 53.31 MB / 420.6 MB, free: 8.336 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005351/0.2907, allocations: 3.804 MB / 424.4 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002162/0.2929, allocations: 1.02 MB / 425.5 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002984/0.2932, allocations: 31.88 kB / 425.5 MB, free: 3.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003594/0.2935, allocations: 150.8 kB / 425.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008369/0.2944, allocations: 286.4 kB / 425.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003127/0.2947, allocations: 139.8 kB / 426.1 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.2962, allocations: 1.393 MB / 427.5 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001253/0.2975, allocations: 0.8887 MB / 428.3 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009224/0.2984, allocations: 0.6309 MB / 429 MB, free: 15.93 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.2995, allocations: 0.7783 MB / 429.8 MB, free: 15.16 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002015/0.2997, allocations: 156 kB / 429.9 MB, free: 15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002892/0.3, allocations: 160 kB / 430.1 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004296/0.3004, allocations: 462.7 kB / 430.5 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007653/0.3011, allocations: 0.7272 MB / 431.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.3032, allocations: 2.047 MB / 433.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.3032, allocations: 0 / 433.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.3032, allocations: 3.938 kB / 433.3 MB, free: 11.61 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.671e-05/0.3033, allocations: 4 kB / 433.3 MB, free: 11.61 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00306/0.3063, allocations: 1.708 MB / 435 MB, free: 9.844 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.3064, allocations: 11.97 kB / 435 MB, free: 9.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005008/0.3069, allocations: 176 kB / 435.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001387/0.3083, allocations: 0.8974 MB / 436.1 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.03e-05/0.3083, allocations: 86.34 kB / 436.2 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001723/0.3085, allocations: 104 kB / 436.3 MB, free: 8.531 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002485/0.311, allocations: 1.552 MB / 437.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.418e-05/0.311, allocations: 0 / 437.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001063/0.3111, allocations: 48 kB / 437.9 MB, free: 6.887 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.614e-05/0.3111, allocations: 28 kB / 437.9 MB, free: 6.859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002136/0.3133, allocations: 1.308 MB / 439.2 MB, free: 5.543 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006527/0.3198, allocations: 4.194 MB / 443.4 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001254/0.3211, allocations: 1.281 MB / 444.7 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006946/0.3218, allocations: 430.5 kB / 445.1 MB, free: 15.33 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.809e-05/0.3218, allocations: 16.42 kB / 445.1 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.953e-05/0.3218, allocations: 35 kB / 445.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 1.944e-06/0.3218, allocations: 0 / 445.2 MB, free: 15.27 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003578/0.3254, allocations: 1.96 MB / 447.1 MB, free: 13.26 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.76e-05/0.3255, allocations: 55.84 kB / 447.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001136/0.3266, allocations: 0.8321 MB / 448 MB, free: 12.35 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.26e-05/0.3266, allocations: 33.7 kB / 448 MB, free: 12.31 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004381/0.3271, allocations: 0.5506 MB / 448.6 MB, free: 11.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/0.3272, allocations: 190.4 kB / 448.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.3274, allocations: 102.2 kB / 448.9 MB, free: 11.46 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002113/0.3276, allocations: 390.7 kB / 449.2 MB, free: 11.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004948/0.3281, allocations: 304.9 kB / 449.5 MB, free: 10.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005749/0.3287, allocations: 399.4 kB / 449.9 MB, free: 10.35 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.3297, allocations: 0.7028 MB / 450.6 MB, free: 9.613 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.3297, allocations: 4 kB / 450.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001479/0.3312, allocations: 0.9206 MB / 451.6 MB, free: 8.676 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.858e-05/0.3312, allocations: 10.91 kB / 451.6 MB, free: 8.668 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.3312, allocations: 8 kB / 451.6 MB, free: 8.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.3315, allocations: 104.8 kB / 451.7 MB, free: 8.555 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005089/0.332, allocations: 123.8 kB / 451.8 MB, free: 8.434 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002614/0.3347, allocations: 2.361 MB / 454.2 MB, free: 5.93 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003719/0.335, allocations: 40.03 kB / 454.2 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.98e-05/0.3351, allocations: 20 kB / 454.2 MB, free: 5.871 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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.0006844/0.3357, allocations: 449.5 kB / 454.7 MB, free: 5.422 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001193/0.3359, allocations: 79.53 kB / 454.7 MB, free: 5.344 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001671/0.336, allocations: 91.06 kB / 454.8 MB, free: 5.254 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.233e-06/0.336, allocations: 8 kB / 454.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.3361, allocations: 0 / 454.8 MB, free: 5.246 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.642e-06/0.3361, allocations: 3.938 kB / 454.8 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003344/0.3394, allocations: 2.013 MB / 456.9 MB, free: 3.152 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3394, allocations: 4 kB / 456.9 MB, free: 3.148 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000352/0.3398, allocations: 88.03 kB / 456.9 MB, free: 3.062 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002526/0.34, allocations: 112.8 kB / 457.1 MB, free: 2.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.56e-05/0.34, allocations: 16 kB / 457.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00238/0.3424, allocations: 2.315 MB / 459.4 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.3424, allocations: 0 / 459.4 MB, free: 496 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001786/0.3442, allocations: 1.212 MB / 460.6 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002382/0.3445, allocations: 168.6 kB / 460.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.694e-05/0.3445, allocations: 16 kB / 460.8 MB, free: 15.04 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.3449, allocations: 43.95 kB / 460.8 MB, free: 14.99 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.3451, allocations: 48.38 kB / 460.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/0.3451, allocations: 20.06 kB / 460.9 MB, free: 14.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000797/0.3459, allocations: 0.5927 MB / 461.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3459, allocations: 0 / 461.5 MB, free: 14.33 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007388/0.3466, allocations: 208 kB / 461.7 MB, free: 14.13 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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.0001514/0.3468, allocations: 111.2 kB / 461.8 MB, free: 14.01 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001382/0.3482, allocations: 0.8083 MB / 462.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3482, allocations: 0 / 462.6 MB, free: 13.19 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007675/0.3489, allocations: 485.8 kB / 463.1 MB, free: 12.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000852/0.3498, allocations: 167 kB / 463.2 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003573/0.3534, allocations: 2.239 MB / 465.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.3544, allocations: 1.336 MB / 466.8 MB, free: 8.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004523/0.3549, allocations: 181.8 kB / 467 MB, free: 8.711 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001387/0.355, allocations: 55.44 kB / 467 MB, free: 8.656 MB / 382.1 MB Notification: Performance of SimCode: time 1.203e-06/0.355, allocations: 0 / 467 MB, free: 8.656 MB / 382.1 MB Notification: Performance of Templates: time 0.02355/0.3785, allocations: 10.75 MB / 477.8 MB, free: 14.02 MB / 398.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches