Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") translateModel(Modelica.Electrical.Polyphase.Examples.TransformerYD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformerL.inductor.1..i|transformerL.inductor.2..i|transformerL.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001229/0.001229, allocations: 115.8 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001386/0.001386, allocations: 210.7 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 55.91 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2387, allocations: 50.54 MB / 409.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004838/0.2435, allocations: 3.793 MB / 413.7 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001894/0.2455, allocations: 1.075 MB / 414.8 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000362/0.2458, allocations: 23.88 kB / 414.8 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003701/0.2462, allocations: 146.8 kB / 415 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008861/0.2471, allocations: 294.4 kB / 415.2 MB, free: 12.37 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.2474, allocations: 139.8 kB / 415.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001405/0.2488, allocations: 1.42 MB / 416.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00139/0.2502, allocations: 1.221 MB / 418 MB, free: 9.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007774/0.251, allocations: 0.6425 MB / 418.7 MB, free: 8.902 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001123/0.2522, allocations: 0.7784 MB / 419.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002789/0.2525, allocations: 164 kB / 419.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003678/0.2528, allocations: 160 kB / 419.8 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004028/0.2532, allocations: 470.7 kB / 420.2 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008032/0.2541, allocations: 0.7389 MB / 421 MB, free: 6.602 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.2559, allocations: 2.081 MB / 423 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2559, allocations: 0 / 423 MB, free: 4.516 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2559, allocations: 0 / 423 MB, free: 4.516 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.718e-05/0.2559, allocations: 3.938 kB / 423 MB, free: 4.512 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002655/0.2586, allocations: 1.695 MB / 424.7 MB, free: 2.762 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.2586, allocations: 8.031 kB / 424.7 MB, free: 2.754 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.2591, allocations: 171.2 kB / 424.9 MB, free: 2.586 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.2603, allocations: 0.9123 MB / 425.8 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.868e-05/0.2604, allocations: 86.38 kB / 425.9 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.2605, allocations: 112 kB / 426 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002286/0.2628, allocations: 1.572 MB / 427.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.087e-05/0.2628, allocations: 4 kB / 427.6 MB, free: 15.81 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001055/0.263, allocations: 44 kB / 427.6 MB, free: 15.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.263, allocations: 28 kB / 427.7 MB, free: 15.74 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001995/0.265, allocations: 1.336 MB / 429 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005805/0.2708, allocations: 4.263 MB / 433.3 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001125/0.2719, allocations: 1.335 MB / 434.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008597/0.2728, allocations: 0.5218 MB / 435.1 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.486e-05/0.2729, allocations: 4.438 kB / 435.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.2729, allocations: 43 kB / 435.2 MB, free: 7.906 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.184e-06/0.2729, allocations: 7.875 kB / 435.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001367/0.2743, allocations: 0.8768 MB / 436.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.232e-05/0.2743, allocations: 55.84 kB / 436.1 MB, free: 6.949 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/0.2753, allocations: 0.8283 MB / 436.9 MB, free: 6.109 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.2754, allocations: 37.7 kB / 437 MB, free: 6.066 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003468/0.2757, allocations: 0.5492 MB / 437.5 MB, free: 5.508 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001312/0.2758, allocations: 177.5 kB / 437.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.276, allocations: 106.2 kB / 437.8 MB, free: 5.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2762, allocations: 378.8 kB / 438.2 MB, free: 4.844 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000449/0.2766, allocations: 300.9 kB / 438.5 MB, free: 4.547 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.2772, allocations: 402.5 kB / 438.9 MB, free: 4.125 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009382/0.2781, allocations: 0.6864 MB / 439.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/0.2781, allocations: 0 / 439.5 MB, free: 3.406 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001185/0.2793, allocations: 0.8258 MB / 440.4 MB, free: 2.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.2793, allocations: 4 kB / 440.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2793, allocations: 4 kB / 440.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.2794, allocations: 4 kB / 440.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006052/0.28, allocations: 156.1 kB / 440.5 MB, free: 2.406 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.387e-05/0.28, allocations: 4 kB / 440.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.2804, allocations: 67.38 kB / 440.6 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.2804, allocations: 20 kB / 440.6 MB, free: 2.316 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005156/0.2809, allocations: 457.5 kB / 441.1 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.2811, allocations: 71.16 kB / 441.1 MB, free: 1.789 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001883/0.2813, allocations: 95.08 kB / 441.2 MB, free: 1.688 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2813, allocations: 15.88 kB / 441.2 MB, free: 1.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.2813, allocations: 3.984 kB / 441.3 MB, free: 1.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.677e-06/0.2813, allocations: 7.922 kB / 441.3 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/0.284, allocations: 1.945 MB / 443.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.538e-06/0.284, allocations: 0 / 443.2 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004866/0.2845, allocations: 119.8 kB / 443.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.25e-06/0.2845, allocations: 4 kB / 443.3 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.412e-05/0.2845, allocations: 20.14 kB / 443.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2846, allocations: 4 kB / 443.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2846, allocations: 0 / 443.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001442/0.286, allocations: 1.126 MB / 444.5 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.2862, allocations: 168.2 kB / 444.6 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.135e-05/0.2863, allocations: 15.94 kB / 444.7 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004036/0.2867, allocations: 47.95 kB / 444.7 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.2868, allocations: 48.31 kB / 444.7 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.812e-05/0.2868, allocations: 12 kB / 444.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006734/0.2875, allocations: 0.5927 MB / 445.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2875, allocations: 0 / 445.4 MB, free: 13.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006348/0.2882, allocations: 282.8 kB / 445.6 MB, free: 13.17 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.2883, allocations: 122.1 kB / 445.7 MB, free: 13.05 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009552/0.2893, allocations: 0.6497 MB / 446.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2893, allocations: 0 / 446.4 MB, free: 12.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004382/0.2897, allocations: 327.1 kB / 446.7 MB, free: 12.08 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008737/0.2906, allocations: 182.8 kB / 446.9 MB, free: 11.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/0.2937, allocations: 2.291 MB / 449.2 MB, free: 9.562 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008462/0.2946, allocations: 1.317 MB / 450.5 MB, free: 8.211 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/0.2948, allocations: 59.42 kB / 450.6 MB, free: 8.152 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2948, allocations: 0 / 450.6 MB, free: 8.152 MB / 366.1 MB Notification: Performance of Templates: time 0.01623/0.311, allocations: 13.47 MB / 464 MB, free: 10.73 MB / 382.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.makefile (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & ./Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches