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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001381/0.001381, allocations: 112.5 kB / 20.43 MB, free: 1.312 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001567/0.001567, allocations: 209.8 kB / 23.74 MB, free: 4.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.493/1.493, allocations: 230.5 MB / 257.4 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002056/0.002056, allocations: 59.91 kB / 377.8 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3285, allocations: 53.41 MB / 431.2 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005809/0.3343, allocations: 3.836 MB / 435 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00244/0.3367, allocations: 1.04 MB / 436.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.337, allocations: 31.81 kB / 436.1 MB, free: 1.746 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003782/0.3374, allocations: 154.8 kB / 436.2 MB, free: 1.594 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009825/0.3384, allocations: 302.4 kB / 436.5 MB, free: 1.297 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003038/0.3387, allocations: 135.8 kB / 436.7 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001542/0.3402, allocations: 1.408 MB / 438.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008748/0.3411, allocations: 0.6314 MB / 438.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009765/0.3421, allocations: 0.6543 MB / 439.4 MB, free: 14.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001112/0.3432, allocations: 0.7783 MB / 440.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002147/0.3434, allocations: 164 kB / 440.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003017/0.3437, allocations: 163.9 kB / 440.5 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004534/0.3442, allocations: 470.7 kB / 440.9 MB, free: 12.86 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008866/0.345, allocations: 0.7311 MB / 441.6 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002316/0.3474, allocations: 2.056 MB / 443.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.3474, allocations: 4 kB / 443.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.3474, allocations: 0 / 443.7 MB, free: 10.06 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.3474, allocations: 0 / 443.7 MB, free: 10.06 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.003278/0.3507, allocations: 1.634 MB / 445.3 MB, free: 8.391 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.887e-05/0.3507, allocations: 12.03 kB / 445.4 MB, free: 8.379 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000232/0.351, allocations: 173.3 kB / 445.5 MB, free: 8.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005225/0.3515, allocations: 176 kB / 445.7 MB, free: 8.027 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001581/0.3531, allocations: 0.8552 MB / 446.6 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.474e-05/0.3531, allocations: 82.16 kB / 446.6 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001743/0.3533, allocations: 108 kB / 446.7 MB, free: 6.953 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002738/0.3561, allocations: 1.564 MB / 448.3 MB, free: 5.344 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.625e-05/0.3561, allocations: 3.938 kB / 448.3 MB, free: 5.34 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/0.3562, allocations: 44 kB / 448.3 MB, free: 5.297 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.852e-05/0.3562, allocations: 42.22 kB / 448.4 MB, free: 5.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002306/0.3586, allocations: 1.32 MB / 449.7 MB, free: 3.926 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006936/0.3655, allocations: 4.089 MB / 453.8 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009641/0.3665, allocations: 0.5892 MB / 454.4 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006948/0.3671, allocations: 421.9 kB / 454.8 MB, free: 14.69 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.945e-05/0.3672, allocations: 8.375 kB / 454.8 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.641e-05/0.3672, allocations: 42.88 kB / 454.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 2.334e-06/0.3672, allocations: 0 / 454.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.003364/0.3706, allocations: 1.805 MB / 456.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001206/0.3707, allocations: 55.84 kB / 456.7 MB, free: 12.72 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001114/0.3718, allocations: 0.8244 MB / 457.5 MB, free: 11.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.17e-05/0.3719, allocations: 29.7 kB / 457.6 MB, free: 11.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004913/0.3724, allocations: 0.57 MB / 458.1 MB, free: 11.28 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/0.3725, allocations: 170.5 kB / 458.3 MB, free: 11.11 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001618/0.3727, allocations: 102.2 kB / 458.4 MB, free: 11 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002254/0.3729, allocations: 386.8 kB / 458.8 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000474/0.3734, allocations: 293.1 kB / 459.1 MB, free: 10.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006392/0.374, allocations: 405 kB / 459.5 MB, free: 9.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001036/0.375, allocations: 0.692 MB / 460.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.375, allocations: 0 / 460.2 MB, free: 9.172 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001515/0.3766, allocations: 0.9022 MB / 461.1 MB, free: 8.258 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.65e-05/0.3766, allocations: 8 kB / 461.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.3766, allocations: 0 / 461.1 MB, free: 8.25 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003206/0.3769, allocations: 120.7 kB / 461.2 MB, free: 8.129 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000481/0.3774, allocations: 112 kB / 461.3 MB, free: 8.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.38, allocations: 2.257 MB / 463.5 MB, free: 5.652 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003891/0.3804, allocations: 23.98 kB / 463.6 MB, free: 5.629 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.423e-05/0.3805, allocations: 20 kB / 463.6 MB, free: 5.609 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (56): * Single equations (assignments): 55 * 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.0008018/0.3813, allocations: 470.1 kB / 464 MB, free: 5.141 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.3814, allocations: 79.47 kB / 464.1 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002182/0.3817, allocations: 83.08 kB / 464.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.3817, allocations: 8 kB / 464.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.3817, allocations: 0 / 464.2 MB, free: 4.969 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.3817, allocations: 3.984 kB / 464.2 MB, free: 4.965 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003693/0.3854, allocations: 1.882 MB / 466.1 MB, free: 3.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.254e-06/0.3854, allocations: 4 kB / 466.1 MB, free: 3.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.3857, allocations: 91.92 kB / 466.2 MB, free: 2.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002701/0.386, allocations: 104.7 kB / 466.3 MB, free: 2.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.252e-05/0.3861, allocations: 15.94 kB / 466.3 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002574/0.3886, allocations: 2.218 MB / 468.5 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3886, allocations: 0 / 468.5 MB, free: 484 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001967/0.3906, allocations: 1.149 MB / 469.7 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003165/0.3909, allocations: 91.47 kB / 469.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000175/0.3911, allocations: 23.88 kB / 469.8 MB, free: 15.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004552/0.3915, allocations: 43.95 kB / 469.8 MB, free: 15.14 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.3917, allocations: 40.05 kB / 469.9 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-05/0.3917, allocations: 20 kB / 469.9 MB, free: 15.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001028/0.3927, allocations: 0.5888 MB / 470.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3927, allocations: 0 / 470.5 MB, free: 14.5 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000961/0.3937, allocations: 208 kB / 470.7 MB, free: 14.29 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.002422/0.3961, allocations: 1.708 MB / 472.4 MB, free: 12.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001592/0.3977, allocations: 0.769 MB / 473.2 MB, free: 11.77 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/0.3977, allocations: 4.688 kB / 473.2 MB, free: 11.76 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007981/0.3985, allocations: 458.3 kB / 473.6 MB, free: 11.3 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001037/0.3995, allocations: 182.8 kB / 473.8 MB, free: 11.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/0.4145, allocations: 8.51 MB / 482.3 MB, free: 2.426 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001384/0.4159, allocations: 1.34 MB / 483.6 MB, free: 1.059 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005088/0.4164, allocations: 177.7 kB / 483.8 MB, free: 0.8828 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005732/0.4169, allocations: 379.3 kB / 484.2 MB, free: 0.5117 MB / 382.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4169, allocations: 7.938 kB / 484.2 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06819/0.4851, allocations: 19.95 MB / 0.4923 GB, free: 12.77 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.41, allocations: 15.92 kB / 0.4923 GB, free: 12.75 MB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.957519283052534]