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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001529/0.001529, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002002/0.002002, allocations: 220.2 kB / 24.53 MB, free: 4.008 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.439/1.439, allocations: 230.5 MB / 258.2 MB, free: 8.016 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.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 63.91 kB / 378.6 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3111, allocations: 53.4 MB / 432 MB, free: 6.699 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005271/0.3164, allocations: 3.844 MB / 435.8 MB, free: 2.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002278/0.3187, allocations: 1.087 MB / 436.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003056/0.319, allocations: 35.75 kB / 436.9 MB, free: 1.715 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003647/0.3194, allocations: 158.8 kB / 437.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009016/0.3203, allocations: 318.3 kB / 437.4 MB, free: 1.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.3205, allocations: 139.8 kB / 437.5 MB, free: 1.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001529/0.3221, allocations: 1.428 MB / 439 MB, free: 15.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008862/0.323, allocations: 0.6514 MB / 439.6 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009023/0.3239, allocations: 0.6737 MB / 440.3 MB, free: 14.31 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001044/0.3249, allocations: 0.8017 MB / 441.1 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.3251, allocations: 163.9 kB / 441.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000266/0.3254, allocations: 160 kB / 441.4 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004129/0.3258, allocations: 470.7 kB / 441.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007606/0.3265, allocations: 0.7505 MB / 442.6 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00216/0.3287, allocations: 2.099 MB / 444.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3287, allocations: 0 / 444.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3287, allocations: 0 / 444.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.536e-05/0.3287, allocations: 0 / 444.7 MB, free: 9.871 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: 288 * Number of variables: 288 Notification: Performance of Generate backend data structure: time 0.003316/0.3321, allocations: 1.662 MB / 446.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/0.3321, allocations: 8.031 kB / 446.4 MB, free: 8.164 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.343e-05/0.3321, allocations: 30.44 kB / 446.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.3324, allocations: 177.4 kB / 446.6 MB, free: 7.949 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004978/0.3329, allocations: 180 kB / 446.8 MB, free: 7.773 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00155/0.3344, allocations: 0.8705 MB / 447.6 MB, free: 6.871 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.621e-05/0.3345, allocations: 86.25 kB / 447.7 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001624/0.3346, allocations: 108 kB / 447.8 MB, free: 6.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.337, allocations: 1.588 MB / 449.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.321e-05/0.3371, allocations: 0 / 449.4 MB, free: 5.047 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001054/0.3372, allocations: 48 kB / 449.5 MB, free: 5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.292e-05/0.3372, allocations: 42.25 kB / 449.5 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.3393, allocations: 1.34 MB / 450.8 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006735/0.346, allocations: 4.389 MB / 455.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009363/0.347, allocations: 0.6232 MB / 455.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009175/0.3479, allocations: 0.4983 MB / 456.3 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.3479, allocations: 4.438 kB / 456.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.608e-05/0.348, allocations: 43 kB / 456.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.405e-06/0.348, allocations: 0 / 456.4 MB, free: 13.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.00153/0.3495, allocations: 0.8811 MB / 457.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.3496, allocations: 55.84 kB / 457.3 MB, free: 12.91 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.3506, allocations: 0.8244 MB / 458.2 MB, free: 12.08 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.3507, allocations: 37.7 kB / 458.2 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.3511, allocations: 0.5662 MB / 458.8 MB, free: 11.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001609/0.3513, allocations: 194.3 kB / 458.9 MB, free: 11.27 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.3515, allocations: 106.3 kB / 459.1 MB, free: 11.16 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002397/0.3517, allocations: 378.8 kB / 459.4 MB, free: 10.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.3522, allocations: 301.1 kB / 459.7 MB, free: 10.49 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.3527, allocations: 399.4 kB / 460.1 MB, free: 10.07 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009998/0.3537, allocations: 0.6893 MB / 460.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3537, allocations: 0 / 460.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001274/0.355, allocations: 0.8286 MB / 461.6 MB, free: 8.512 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/0.355, allocations: 8 kB / 461.6 MB, free: 8.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.355, allocations: 3.938 kB / 461.6 MB, free: 8.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.087e-05/0.3551, allocations: 7.938 kB / 461.6 MB, free: 8.492 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000615/0.3557, allocations: 152.1 kB / 461.8 MB, free: 8.344 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.841e-05/0.3557, allocations: 8 kB / 461.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000372/0.3561, allocations: 59.59 kB / 461.9 MB, free: 8.277 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.3561, allocations: 24 kB / 461.9 MB, free: 8.254 MB / 366.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.0006534/0.3568, allocations: 461.4 kB / 462.3 MB, free: 7.793 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001252/0.3569, allocations: 75.53 kB / 462.4 MB, free: 7.719 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001832/0.3571, allocations: 103 kB / 462.5 MB, free: 7.617 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.3571, allocations: 7.984 kB / 462.5 MB, free: 7.609 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.3571, allocations: 4 kB / 462.5 MB, free: 7.605 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.3571, allocations: 4 kB / 462.5 MB, free: 7.602 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003146/0.3602, allocations: 1.925 MB / 464.4 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.3603, allocations: 0 / 464.4 MB, free: 5.609 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.3607, allocations: 119.9 kB / 464.6 MB, free: 5.492 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.3608, allocations: 4 kB / 464.6 MB, free: 5.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.3608, allocations: 12 kB / 464.6 MB, free: 5.477 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.3608, allocations: 8.094 kB / 464.6 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.3608, allocations: 4 kB / 464.6 MB, free: 5.465 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001593/0.3624, allocations: 1.126 MB / 465.7 MB, free: 4.309 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001895/0.3626, allocations: 99.42 kB / 465.8 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.976e-05/0.3627, allocations: 12 kB / 465.8 MB, free: 4.199 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.3631, allocations: 55.88 kB / 465.9 MB, free: 4.145 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001046/0.3632, allocations: 36.38 kB / 465.9 MB, free: 4.109 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.3632, allocations: 23.92 kB / 465.9 MB, free: 4.086 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000779/0.364, allocations: 0.5966 MB / 466.5 MB, free: 3.492 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.364, allocations: 3.938 kB / 466.5 MB, free: 3.488 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008304/0.3648, allocations: 283.1 kB / 466.8 MB, free: 3.211 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.001996/0.3668, allocations: 1.69 MB / 468.5 MB, free: 1.477 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001128/0.3679, allocations: 0.6181 MB / 469.1 MB, free: 0.8555 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.368, allocations: 8 kB / 469.1 MB, free: 0.8477 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004644/0.3684, allocations: 307 kB / 469.4 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008981/0.3693, allocations: 189.8 kB / 469.6 MB, free: 376 kB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01235/0.3817, allocations: 8.576 MB / 478.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009926/0.3827, allocations: 1.336 MB / 479.5 MB, free: 6.246 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005338/0.3832, allocations: 217.8 kB / 479.7 MB, free: 6.031 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005347/0.3837, allocations: 391.3 kB / 480.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of SimCode: time 1.583e-06/0.3837, allocations: 0 / 480.1 MB, free: 5.648 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05295/0.4367, allocations: 19.85 MB / 500 MB, free: 2.012 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.06/12.5, allocations: 12.86 kB / 500 MB, free: 2.008 MB / 398.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 15.106522375019267]