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.001381/0.001381, allocations: 118.6 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001431/0.001431, allocations: 207.7 kB / 19.4 MB, free: 3.645 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.431/1.431, allocations: 227.6 MB / 247.9 MB, free: 10.19 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.001902/0.001902, allocations: 67.89 kB / 359.7 MB, free: 12.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2302, allocations: 50.55 MB / 410.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00529/0.2355, allocations: 3.792 MB / 414 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001982/0.2375, allocations: 1.024 MB / 415 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002089/0.2377, allocations: 19.94 kB / 415 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003241/0.238, allocations: 150.8 kB / 415.2 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007002/0.2387, allocations: 278.5 kB / 415.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002727/0.239, allocations: 143.8 kB / 415.6 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001436/0.2404, allocations: 1.397 MB / 417 MB, free: 10.63 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.2416, allocations: 0.8809 MB / 417.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008016/0.2424, allocations: 0.6385 MB / 418.5 MB, free: 9.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009503/0.2433, allocations: 0.7666 MB / 419.3 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001984/0.2435, allocations: 156 kB / 419.4 MB, free: 8.148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002651/0.2438, allocations: 160 kB / 419.6 MB, free: 7.992 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.2442, allocations: 458.7 kB / 420 MB, free: 7.543 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000775/0.245, allocations: 0.7349 MB / 420.8 MB, free: 6.805 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002041/0.2471, allocations: 2.047 MB / 422.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.2471, allocations: 0 / 422.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2471, allocations: 0 / 422.8 MB, free: 4.754 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.2471, allocations: 0 / 422.8 MB, free: 4.754 MB / 334.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.0031/0.2502, allocations: 1.702 MB / 424.5 MB, free: 2.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.754e-05/0.2502, allocations: 12.02 kB / 424.5 MB, free: 2.984 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000522/0.2507, allocations: 176 kB / 424.7 MB, free: 2.812 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.2523, allocations: 0.9091 MB / 425.6 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.742e-05/0.2524, allocations: 82.34 kB / 425.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002002/0.2526, allocations: 108 kB / 425.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002519/0.2551, allocations: 1.548 MB / 427.3 MB, free: 80 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.083e-05/0.2551, allocations: 4 kB / 427.4 MB, free: 76 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.2552, allocations: 44 kB / 427.4 MB, free: 32 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.2553, allocations: 28 kB / 427.4 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002269/0.2575, allocations: 1.316 MB / 428.7 MB, free: 14.68 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00688/0.2644, allocations: 4.183 MB / 432.9 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001362/0.2658, allocations: 1.294 MB / 434.2 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007341/0.2665, allocations: 434.5 kB / 434.6 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.2665, allocations: 8.438 kB / 434.6 MB, free: 8.457 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/0.2666, allocations: 42.98 kB / 434.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.074e-06/0.2666, allocations: 0 / 434.7 MB, free: 8.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003406/0.27, allocations: 1.948 MB / 436.6 MB, free: 6.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.27, allocations: 63.84 kB / 436.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001118/0.2711, allocations: 0.8243 MB / 437.5 MB, free: 5.496 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.352e-05/0.2712, allocations: 33.7 kB / 437.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004418/0.2716, allocations: 0.5623 MB / 438.1 MB, free: 4.887 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001577/0.2718, allocations: 182.4 kB / 438.3 MB, free: 4.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001803/0.272, allocations: 102.2 kB / 438.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.2722, allocations: 390.8 kB / 438.8 MB, free: 4.211 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.2727, allocations: 300.9 kB / 439.1 MB, free: 3.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005934/0.2733, allocations: 407.3 kB / 439.5 MB, free: 3.484 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001082/0.2744, allocations: 0.6989 MB / 440.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2744, allocations: 4 kB / 440.2 MB, free: 2.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00154/0.2759, allocations: 0.917 MB / 441.1 MB, free: 1.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.276, allocations: 8.031 kB / 441.1 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.276, allocations: 4 kB / 441.1 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/0.2763, allocations: 116.7 kB / 441.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/0.2768, allocations: 119.9 kB / 441.3 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.2794, allocations: 2.368 MB / 443.7 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003578/0.2798, allocations: 27.95 kB / 443.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.941e-05/0.2798, allocations: 20 kB / 443.7 MB, free: 15.02 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.0006499/0.2804, allocations: 461.4 kB / 444.2 MB, free: 14.55 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.2806, allocations: 75.53 kB / 444.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001833/0.2808, allocations: 91.08 kB / 444.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2808, allocations: 4 kB / 444.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.2808, allocations: 0 / 444.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.237e-06/0.2808, allocations: 11.98 kB / 444.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003271/0.284, allocations: 2.013 MB / 446.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.284, allocations: 0 / 446.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.2844, allocations: 92.05 kB / 446.5 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00025/0.2847, allocations: 104.7 kB / 446.6 MB, free: 12.09 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.638e-05/0.2847, allocations: 15.98 kB / 446.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002407/0.2871, allocations: 2.323 MB / 448.9 MB, free: 9.617 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.2871, allocations: 4.031 kB / 448.9 MB, free: 9.613 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001848/0.289, allocations: 1.208 MB / 450.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002349/0.2892, allocations: 164.6 kB / 450.3 MB, free: 8.188 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.054e-05/0.2893, allocations: 12 kB / 450.3 MB, free: 8.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.2897, allocations: 47.95 kB / 450.4 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.2898, allocations: 48.31 kB / 450.4 MB, free: 8.078 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.328e-05/0.2898, allocations: 16 kB / 450.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008366/0.2907, allocations: 0.5888 MB / 451 MB, free: 7.477 MB / 366.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2907, allocations: 0 / 451 MB, free: 7.477 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007319/0.2914, allocations: 211.9 kB / 451.2 MB, free: 7.27 MB / 366.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.0001742/0.2916, allocations: 120.3 kB / 451.3 MB, free: 7.141 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001421/0.293, allocations: 0.7967 MB / 452.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.293, allocations: 0 / 452.1 MB, free: 6.336 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007646/0.2938, allocations: 485.8 kB / 452.6 MB, free: 5.852 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008448/0.2946, allocations: 182.1 kB / 452.8 MB, free: 5.68 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00353/0.2981, allocations: 2.231 MB / 455 MB, free: 3.395 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.2992, allocations: 1.34 MB / 456.3 MB, free: 2.027 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004493/0.2997, allocations: 185.8 kB / 456.5 MB, free: 1.844 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001439/0.2998, allocations: 51.42 kB / 456.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of SimCode: time 5.11e-07/0.2998, allocations: 0 / 456.6 MB, free: 1.793 MB / 366.1 MB Notification: Performance of Templates: time 0.0195/0.3193, allocations: 10.71 MB / 467.3 MB, free: 7.203 MB / 382.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/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