Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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 trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 116.1 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001609/0.001609, allocations: 202 kB / 18.73 MB, free: 4.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.388/1.388, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 59.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.277/0.2781, allocations: 50.54 MB / 409.2 MB, free: 1.617 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.004832/0.283, allocations: 3.785 MB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002071/0.2851, allocations: 1.02 MB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004135/0.2855, allocations: 19.94 kB / 414.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003393/0.2859, allocations: 154.8 kB / 414.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000751/0.2866, allocations: 278.4 kB / 414.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.287, allocations: 143.8 kB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001172/0.2881, allocations: 1.397 MB / 416 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001171/0.2893, allocations: 1.189 MB / 417.2 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006048/0.2899, allocations: 0.6347 MB / 417.8 MB, free: 8.938 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007826/0.2907, allocations: 0.7667 MB / 418.6 MB, free: 8.168 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001695/0.2909, allocations: 156 kB / 418.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002217/0.2911, allocations: 160 kB / 418.9 MB, free: 7.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003658/0.2915, allocations: 454.8 kB / 419.4 MB, free: 7.414 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.2922, allocations: 0.7311 MB / 420.1 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00159/0.2938, allocations: 2.046 MB / 422.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2938, allocations: 0 / 422.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.2938, allocations: 0 / 422.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.986e-05/0.2938, allocations: 0 / 422.1 MB, free: 4.633 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.002596/0.2964, allocations: 1.676 MB / 423.8 MB, free: 2.902 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2965, allocations: 12.03 kB / 423.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004506/0.2969, allocations: 167.3 kB / 424 MB, free: 2.727 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001211/0.2981, allocations: 0.8928 MB / 424.9 MB, free: 1.789 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/0.2982, allocations: 90.34 kB / 425 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.2984, allocations: 104 kB / 425.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002165/0.3005, allocations: 1.548 MB / 426.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.3006, allocations: 0 / 426.6 MB, free: 4 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.3007, allocations: 44.08 kB / 426.7 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.3007, allocations: 28 kB / 426.7 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001956/0.3027, allocations: 1.32 MB / 428 MB, free: 14.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005679/0.3084, allocations: 4.166 MB / 432.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001106/0.3095, allocations: 1.314 MB / 433.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006443/0.3102, allocations: 470.4 kB / 433.9 MB, free: 8.352 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3102, allocations: 4.438 kB / 434 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/0.3102, allocations: 42.98 kB / 434 MB, free: 8.297 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 1.503e-06/0.3102, allocations: 0 / 434 MB, free: 8.297 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.002946/0.3132, allocations: 1.942 MB / 435.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.985e-05/0.3132, allocations: 55.84 kB / 436 MB, free: 6.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009206/0.3142, allocations: 0.8243 MB / 436.8 MB, free: 5.398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.701e-05/0.3142, allocations: 37.7 kB / 436.9 MB, free: 5.355 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003359/0.3146, allocations: 0.5492 MB / 437.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001154/0.3147, allocations: 177.5 kB / 437.6 MB, free: 4.621 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/0.3149, allocations: 102.2 kB / 437.7 MB, free: 4.516 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.315, allocations: 386.7 kB / 438.1 MB, free: 4.129 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004431/0.3155, allocations: 304.9 kB / 438.3 MB, free: 3.828 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005102/0.316, allocations: 411.3 kB / 438.8 MB, free: 3.395 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009317/0.3169, allocations: 0.7028 MB / 439.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3169, allocations: 0 / 439.5 MB, free: 2.66 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001283/0.3182, allocations: 0.9205 MB / 440.4 MB, free: 1.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3183, allocations: 4 kB / 440.4 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.314e-06/0.3183, allocations: 4 kB / 440.4 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002828/0.3186, allocations: 108.8 kB / 440.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004983/0.3191, allocations: 123.8 kB / 440.6 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002232/0.3213, allocations: 2.361 MB / 443 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002993/0.3216, allocations: 27.95 kB / 443 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.3217, allocations: 20 kB / 443 MB, free: 14.94 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.000551/0.3222, allocations: 465.4 kB / 443.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3223, allocations: 75.06 kB / 443.5 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.3225, allocations: 91.08 kB / 443.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.3225, allocations: 4 kB / 443.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.3225, allocations: 4.062 kB / 443.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.165e-05/0.3226, allocations: 7.922 kB / 443.6 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002864/0.3254, allocations: 2.013 MB / 445.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.3254, allocations: 4 kB / 445.7 MB, free: 12.2 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003315/0.3258, allocations: 84.05 kB / 445.7 MB, free: 12.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002189/0.326, allocations: 104.7 kB / 445.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.348e-05/0.3261, allocations: 15.98 kB / 445.9 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00195/0.328, allocations: 2.322 MB / 448.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.883e-06/0.328, allocations: 0 / 448.2 MB, free: 9.539 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00207/0.3301, allocations: 1.204 MB / 449.4 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002354/0.3304, allocations: 164.2 kB / 449.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001191/0.3305, allocations: 12 kB / 449.6 MB, free: 8.105 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005511/0.331, allocations: 47.89 kB / 449.6 MB, free: 8.059 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.3312, allocations: 48.38 kB / 449.7 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.487e-05/0.3313, allocations: 16.28 kB / 449.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001011/0.3323, allocations: 0.5888 MB / 450.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.3323, allocations: 0 / 450.3 MB, free: 7.406 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001052/0.3334, allocations: 211.9 kB / 450.5 MB, free: 7.199 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.0002108/0.3336, allocations: 126.7 kB / 450.6 MB, free: 7.066 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001782/0.3354, allocations: 0.8201 MB / 451.4 MB, free: 6.238 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.3354, allocations: 4 kB / 451.4 MB, free: 6.234 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009571/0.3364, allocations: 497.7 kB / 451.9 MB, free: 5.738 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001143/0.3375, allocations: 174.9 kB / 452.1 MB, free: 5.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004496/0.342, allocations: 2.191 MB / 454.3 MB, free: 3.328 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.3433, allocations: 1.34 MB / 455.6 MB, free: 1.961 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006404/0.3439, allocations: 181.8 kB / 455.8 MB, free: 1.781 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.3441, allocations: 55.42 kB / 455.8 MB, free: 1.727 MB / 366.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3441, allocations: 4 kB / 455.8 MB, free: 1.723 MB / 366.1 MB Notification: Performance of Templates: time 0.02506/0.3692, allocations: 10.62 MB / 466.5 MB, free: 7.211 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches