Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009554/0.0009554, allocations: 202.3 kB / 17.38 MB, free: 4.43 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 226.6 MB / 244.7 MB, free: 6.477 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000739/0.000739, allocations: 102.8 kB / 296.8 MB, free: 6.688 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002058/0.0002058, allocations: 12 kB / 356.8 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.225, allocations: 51.29 MB / 408 MB, free: 27.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003834/0.2289, allocations: 3.252 MB / 411.3 MB, free: 24.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002043/0.231, allocations: 0.9363 MB / 412.2 MB, free: 23.51 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002999/0.2313, allocations: 19.94 kB / 412.2 MB, free: 23.49 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002955/0.2317, allocations: 115.2 kB / 412.4 MB, free: 23.38 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008202/0.2325, allocations: 254.1 kB / 412.6 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002701/0.2328, allocations: 87.84 kB / 412.7 MB, free: 23.04 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001398/0.2342, allocations: 1.479 MB / 414.2 MB, free: 21.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001218/0.2354, allocations: 0.9969 MB / 415.2 MB, free: 20.53 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008359/0.2363, allocations: 474.2 kB / 415.6 MB, free: 20.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007016/0.237, allocations: 0.6109 MB / 416.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001208/0.2371, allocations: 76 kB / 416.3 MB, free: 19.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002253/0.2374, allocations: 72 kB / 416.4 MB, free: 19.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002727/0.2376, allocations: 346.9 kB / 416.7 MB, free: 18.97 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005584/0.2382, allocations: 0.6121 MB / 417.3 MB, free: 18.35 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.2393, allocations: 1.629 MB / 419 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2393, allocations: 0 / 419 MB, free: 16.71 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.814e-06/0.2393, allocations: 0 / 419 MB, free: 16.71 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.746e-05/0.2394, allocations: 0 / 419 MB, free: 16.71 MB / 298.7 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.002307/0.2417, allocations: 1.454 MB / 420.4 MB, free: 15.21 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.2417, allocations: 12.03 kB / 420.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004977/0.2422, allocations: 179.2 kB / 420.6 MB, free: 15.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.2434, allocations: 0.85 MB / 421.5 MB, free: 14.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.896e-05/0.2435, allocations: 86.53 kB / 421.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.2436, allocations: 111.9 kB / 421.6 MB, free: 13.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002301/0.2459, allocations: 1.541 MB / 423.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.246, allocations: 0 / 423.2 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001153/0.2461, allocations: 44 kB / 423.2 MB, free: 12.3 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.2461, allocations: 24 kB / 423.3 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.2481, allocations: 1.324 MB / 424.6 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004757/0.2529, allocations: 4.248 MB / 428.8 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008139/0.2537, allocations: 1.326 MB / 430.2 MB, free: 5.066 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005749/0.2543, allocations: 462.5 kB / 430.6 MB, free: 4.605 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.478e-05/0.2543, allocations: 8.438 kB / 430.6 MB, free: 4.598 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.2544, allocations: 46.94 kB / 430.7 MB, free: 4.543 MB / 298.7 MB Notification: Performance of pre-optimization done (n=49): time 2.465e-06/0.2544, allocations: 0 / 430.7 MB, free: 4.543 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.002669/0.2571, allocations: 1.97 MB / 432.6 MB, free: 2.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.753e-05/0.2571, allocations: 55.84 kB / 432.7 MB, free: 2.449 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007666/0.2579, allocations: 0.8087 MB / 433.5 MB, free: 1.629 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/0.2579, allocations: 33.7 kB / 433.5 MB, free: 1.59 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002257/0.2581, allocations: 0.5452 MB / 434.1 MB, free: 1.035 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.937e-05/0.2582, allocations: 173.5 kB / 434.2 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.2583, allocations: 16 kB / 434.3 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.2584, allocations: 390.7 kB / 434.6 MB, free: 468 kB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003961/0.2588, allocations: 308.8 kB / 434.9 MB, free: 160 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004982/0.2593, allocations: 407.4 kB / 435.3 MB, free: 15.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009597/0.2602, allocations: 0.7145 MB / 436.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.2603, allocations: 4 kB / 436.1 MB, free: 14.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001359/0.2616, allocations: 0.924 MB / 437 MB, free: 14.04 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/0.2616, allocations: 4.312 kB / 437 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.2617, allocations: 8 kB / 437 MB, free: 14.03 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002678/0.2619, allocations: 104.8 kB / 437.1 MB, free: 13.92 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004975/0.2624, allocations: 123.8 kB / 437.2 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.2645, allocations: 2.177 MB / 439.4 MB, free: 11.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003919/0.265, allocations: 32.05 kB / 439.4 MB, free: 11.45 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.685e-05/0.265, allocations: 19.98 kB / 439.4 MB, free: 11.43 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006755/0.2657, allocations: 461.4 kB / 439.9 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001117/0.2658, allocations: 71.16 kB / 440 MB, free: 10.9 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001517/0.266, allocations: 91.08 kB / 440.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.266, allocations: 4 kB / 440.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.266, allocations: 4 kB / 440.1 MB, free: 10.8 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.266, allocations: 3.984 kB / 440.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.269, allocations: 2.041 MB / 442.1 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.656e-06/0.269, allocations: 0 / 442.1 MB, free: 8.672 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003419/0.2693, allocations: 99.98 kB / 442.2 MB, free: 8.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002388/0.2696, allocations: 104.9 kB / 442.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.309e-05/0.2696, allocations: 11.98 kB / 442.3 MB, free: 8.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/0.2716, allocations: 2.127 MB / 444.4 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.2716, allocations: 4.031 kB / 444.4 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001685/0.2733, allocations: 1.215 MB / 445.7 MB, free: 4.941 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002211/0.2736, allocations: 160.2 kB / 445.8 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.88e-05/0.2737, allocations: 24.05 kB / 445.8 MB, free: 4.742 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003988/0.2741, allocations: 51.95 kB / 445.9 MB, free: 4.691 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.2742, allocations: 36.38 kB / 445.9 MB, free: 4.656 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.394e-05/0.2742, allocations: 20 kB / 445.9 MB, free: 4.637 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0007887/0.275, allocations: 0.581 MB / 446.5 MB, free: 4.062 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.275, allocations: 0 / 446.5 MB, free: 4.062 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007363/0.2758, allocations: 208 kB / 446.7 MB, free: 3.859 MB / 314.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001606/0.276, allocations: 111.2 kB / 446.8 MB, free: 3.738 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001344/0.2773, allocations: 0.8241 MB / 447.7 MB, free: 2.902 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/0.2773, allocations: 4.625 kB / 447.7 MB, free: 2.898 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007164/0.2781, allocations: 0.4968 MB / 448.2 MB, free: 2.387 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000948/0.279, allocations: 170.4 kB / 448.3 MB, free: 2.223 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003626/0.2826, allocations: 2.636 MB / 451 MB, free: 15.54 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009102/0.2836, allocations: 1.317 MB / 452.3 MB, free: 14.19 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.2838, allocations: 51.44 kB / 452.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.2838, allocations: 0 / 452.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of Templates: time 0.02247/0.3062, allocations: 18.61 MB / 470.9 MB, free: 11.57 MB / 346.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches