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.001067/0.001068, allocations: 117.3 kB / 17.78 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001229/0.001229, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 59.91 kB / 358.7 MB, free: 12.94 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2218, allocations: 50.55 MB / 409.2 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00467/0.2265, allocations: 3.784 MB / 413 MB, free: 13.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001845/0.2284, allocations: 1.009 MB / 414 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002388/0.2286, allocations: 23.88 kB / 414.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003268/0.2289, allocations: 150.8 kB / 414.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006881/0.2296, allocations: 278.5 kB / 414.5 MB, free: 12.35 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002502/0.2299, allocations: 139.8 kB / 414.6 MB, free: 12.21 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001175/0.2311, allocations: 1.401 MB / 416 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001163/0.2323, allocations: 1.185 MB / 417.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006373/0.2329, allocations: 0.6347 MB / 417.8 MB, free: 8.941 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008449/0.2338, allocations: 0.755 MB / 418.6 MB, free: 8.184 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001994/0.234, allocations: 156 kB / 418.7 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002905/0.2343, allocations: 160 kB / 418.9 MB, free: 7.875 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.2347, allocations: 458.7 kB / 419.3 MB, free: 7.426 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006433/0.2353, allocations: 0.7311 MB / 420.1 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001692/0.237, allocations: 2.051 MB / 422.1 MB, free: 4.637 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.237, allocations: 4 kB / 422.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.237, allocations: 0 / 422.1 MB, free: 4.633 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.975e-05/0.2371, 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.002701/0.2398, allocations: 1.706 MB / 423.8 MB, free: 2.871 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.2398, allocations: 12.03 kB / 423.8 MB, free: 2.859 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004718/0.2403, allocations: 172 kB / 424 MB, free: 2.691 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001249/0.2416, allocations: 0.9012 MB / 424.9 MB, free: 1.746 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.799e-05/0.2416, allocations: 86.34 kB / 425 MB, free: 1.66 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.2418, allocations: 112 kB / 425.1 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002292/0.2441, allocations: 1.548 MB / 426.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.536e-05/0.2441, allocations: 7.938 kB / 426.7 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.715e-05/0.2442, allocations: 40 kB / 426.7 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/0.2443, allocations: 28 kB / 426.7 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002023/0.2463, allocations: 1.32 MB / 428.1 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005649/0.252, allocations: 4.171 MB / 432.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001272/0.2532, allocations: 1.326 MB / 433.6 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/0.2539, allocations: 458.5 kB / 434 MB, free: 8.293 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.254, allocations: 4.438 kB / 434 MB, free: 8.289 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.254, allocations: 42.98 kB / 434 MB, free: 8.238 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.315e-06/0.254, allocations: 0 / 434 MB, free: 8.238 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003054/0.2571, allocations: 1.956 MB / 436 MB, free: 6.23 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.2571, allocations: 59.84 kB / 436.1 MB, free: 6.156 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.2581, allocations: 0.8282 MB / 436.9 MB, free: 5.32 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.2581, allocations: 37.7 kB / 436.9 MB, free: 5.277 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.2585, allocations: 0.5506 MB / 437.5 MB, free: 4.719 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001272/0.2586, allocations: 190.4 kB / 437.7 MB, free: 4.531 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001552/0.2588, allocations: 106.2 kB / 437.8 MB, free: 4.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.259, allocations: 382.8 kB / 438.1 MB, free: 4.039 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004376/0.2594, allocations: 308.9 kB / 438.4 MB, free: 3.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004979/0.2599, allocations: 399.4 kB / 438.8 MB, free: 3.312 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009135/0.2608, allocations: 0.7028 MB / 439.5 MB, free: 2.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.2609, allocations: 3.984 kB / 439.5 MB, free: 2.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001315/0.2622, allocations: 0.9208 MB / 440.5 MB, free: 1.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.793e-05/0.2622, allocations: 4 kB / 440.5 MB, free: 1.637 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2622, allocations: 4 kB / 440.5 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002601/0.2625, allocations: 108.7 kB / 440.6 MB, free: 1.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.263, allocations: 124 kB / 440.7 MB, free: 1.402 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.265, allocations: 2.376 MB / 443.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003314/0.2654, allocations: 27.95 kB / 443.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.2654, allocations: 20 kB / 443.1 MB, free: 14.84 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.0005432/0.266, allocations: 465.1 kB / 443.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.2661, allocations: 79.53 kB / 443.6 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.2663, allocations: 87.08 kB / 443.7 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.2663, allocations: 8 kB / 443.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.2663, allocations: 0 / 443.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.116e-06/0.2663, allocations: 7.922 kB / 443.7 MB, free: 14.2 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002848/0.2691, allocations: 2.013 MB / 445.8 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.2692, allocations: 4 kB / 445.8 MB, free: 12.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.2695, allocations: 83.89 kB / 445.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002207/0.2697, allocations: 104.7 kB / 446 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.399e-05/0.2698, allocations: 15.98 kB / 446 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002023/0.2718, allocations: 2.327 MB / 448.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2718, allocations: 0 / 448.3 MB, free: 9.438 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001563/0.2734, allocations: 1.208 MB / 449.5 MB, free: 8.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001694/0.2736, allocations: 172.5 kB / 449.7 MB, free: 8.004 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.07e-05/0.2737, allocations: 12.28 kB / 449.7 MB, free: 7.992 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003839/0.2741, allocations: 52.02 kB / 449.7 MB, free: 7.941 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.833e-05/0.2742, allocations: 44.25 kB / 449.8 MB, free: 7.895 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-05/0.2742, allocations: 19.94 kB / 449.8 MB, free: 7.875 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006756/0.2749, allocations: 0.5888 MB / 450.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.2749, allocations: 0 / 450.4 MB, free: 7.289 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007317/0.2756, allocations: 212 kB / 450.6 MB, free: 7.082 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.000144/0.2758, allocations: 122.8 kB / 450.7 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001292/0.2771, allocations: 0.8207 MB / 451.5 MB, free: 6.125 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.2771, allocations: 4 kB / 451.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006739/0.2778, allocations: 488.8 kB / 452 MB, free: 5.629 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008401/0.2786, allocations: 178 kB / 452.2 MB, free: 5.461 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003141/0.2818, allocations: 2.241 MB / 454.4 MB, free: 3.168 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009003/0.2827, allocations: 1.336 MB / 455.8 MB, free: 1.805 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000407/0.2831, allocations: 185.8 kB / 455.9 MB, free: 1.621 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001381/0.2833, allocations: 51.42 kB / 456 MB, free: 1.57 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2833, allocations: 0 / 456 MB, free: 1.57 MB / 366.1 MB Notification: Performance of Templates: time 0.01676/0.3, allocations: 10.62 MB / 466.6 MB, free: 7.059 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