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.001326/0.001326, allocations: 122.7 kB / 18.5 MB, free: 4.578 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.001359/0.001359, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.51/1.51, allocations: 230.2 MB / 254.5 MB, free: 15.27 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 60.14 kB / 373.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1108/0.1127, allocations: 53.32 MB / 426.7 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005667/0.1183, allocations: 3.836 MB / 430.5 MB, free: 1.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.1208, allocations: 1.079 MB / 431.6 MB, free: 88 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.121, allocations: 23.88 kB / 431.6 MB, free: 64 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2652/0.3862, allocations: 156.6 kB / 431.7 MB, free: 7.57 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001459/0.3877, allocations: 307.1 kB / 432 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003476/0.388, allocations: 131.6 kB / 432.2 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001552/0.3896, allocations: 1.43 MB / 433.6 MB, free: 7.5 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.3906, allocations: 0.9075 MB / 434.5 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001017/0.3917, allocations: 0.6599 MB / 435.2 MB, free: 7.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001323/0.393, allocations: 0.7996 MB / 436 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003127/0.3933, allocations: 161.7 kB / 436.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004189/0.3937, allocations: 162 kB / 436.3 MB, free: 7.113 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005066/0.3942, allocations: 473.1 kB / 436.8 MB, free: 7.059 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001086/0.3953, allocations: 0.7453 MB / 437.5 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003193/0.3985, allocations: 2.093 MB / 439.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.279e-06/0.3985, allocations: 0 / 439.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3985, allocations: 0 / 439.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.75e-05/0.3986, allocations: 1.344 kB / 439.6 MB, free: 5.984 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.004875/0.4035, allocations: 1.74 MB / 441.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.4035, allocations: 8.875 kB / 441.3 MB, free: 4.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003134/0.4038, allocations: 181.6 kB / 441.5 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007161/0.4045, allocations: 177.9 kB / 441.7 MB, free: 4.734 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001821/0.4064, allocations: 0.9138 MB / 442.6 MB, free: 4.203 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.858e-05/0.4064, allocations: 87.44 kB / 442.7 MB, free: 4.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002141/0.4066, allocations: 116.8 kB / 442.8 MB, free: 4.121 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003052/0.4097, allocations: 1.586 MB / 444.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.004e-05/0.4097, allocations: 1.156 kB / 444.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001431/0.4099, allocations: 46.19 kB / 444.4 MB, free: 3.457 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.032e-05/0.4099, allocations: 40.44 kB / 444.5 MB, free: 3.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002487/0.4124, allocations: 1.342 MB / 445.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007746/0.4202, allocations: 4.449 MB / 450.3 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.4214, allocations: 1.3 MB / 451.6 MB, free: 15.56 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009955/0.4224, allocations: 0.4996 MB / 452.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.409e-05/0.4224, allocations: 5.781 kB / 452.1 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.05e-05/0.4224, allocations: 39.86 kB / 452.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=51): time 2.706e-06/0.4224, allocations: 0 / 452.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.001778/0.4242, allocations: 0.8829 MB / 453 MB, free: 14.99 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.4243, allocations: 61.28 kB / 453.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.4255, allocations: 0.8311 MB / 453.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.4256, allocations: 37.11 kB / 453.9 MB, free: 14.42 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.4261, allocations: 0.5579 MB / 454.5 MB, free: 13.93 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001978/0.4263, allocations: 183.4 kB / 454.7 MB, free: 13.77 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.4265, allocations: 111.2 kB / 454.8 MB, free: 13.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.4267, allocations: 380.5 kB / 455.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005037/0.4272, allocations: 307.8 kB / 455.4 MB, free: 13.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005755/0.4278, allocations: 388.6 kB / 455.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001179/0.429, allocations: 0.6934 MB / 456.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.429, allocations: 1.156 kB / 456.5 MB, free: 12.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001499/0.4305, allocations: 0.8251 MB / 457.3 MB, free: 12.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.085e-05/0.4305, allocations: 9.531 kB / 457.3 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.4305, allocations: 3.5 kB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.4305, allocations: 5.75 kB / 457.4 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000646/0.4312, allocations: 147.2 kB / 457.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.582e-05/0.4312, allocations: 8.188 kB / 457.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005926/0.4318, allocations: 67.12 kB / 457.6 MB, free: 12 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.4318, allocations: 18.62 kB / 457.6 MB, free: 11.99 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.0009117/0.4327, allocations: 466.1 kB / 458 MB, free: 11.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001736/0.4329, allocations: 78.78 kB / 458.1 MB, free: 11.63 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002003/0.4331, allocations: 97.06 kB / 458.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.085e-06/0.4331, allocations: 5.469 kB / 458.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.36e-05/0.4331, allocations: 3.938 kB / 458.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.4331, allocations: 1.062 kB / 458.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003583/0.4367, allocations: 1.947 MB / 460.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4367, allocations: 1.5 kB / 460.2 MB, free: 10.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005167/0.4372, allocations: 126.9 kB / 460.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.365e-06/0.4372, allocations: 3.344 kB / 460.3 MB, free: 10.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.4373, allocations: 13.14 kB / 460.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/0.4373, allocations: 3.344 kB / 460.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.4373, allocations: 1.625 kB / 460.3 MB, free: 10.27 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.4392, allocations: 1.131 MB / 461.5 MB, free: 9.598 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.4396, allocations: 174.9 kB / 461.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.4398, allocations: 12.53 kB / 461.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004341/0.4402, allocations: 54.41 kB / 461.7 MB, free: 9.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.4403, allocations: 39.16 kB / 461.7 MB, free: 9.387 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.4403, allocations: 14.91 kB / 461.7 MB, free: 9.383 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009406/0.4413, allocations: 0.6026 MB / 462.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4413, allocations: 0 / 462.3 MB, free: 9.039 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009271/0.4422, allocations: 298 kB / 462.6 MB, free: 8.949 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.002038/0.4442, allocations: 1.682 MB / 464.3 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00109/0.4453, allocations: 0.637 MB / 465 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.4453, allocations: 0 / 465 MB, free: 7.434 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004417/0.4458, allocations: 309.8 kB / 465.3 MB, free: 7.289 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000954/0.4467, allocations: 185 kB / 465.4 MB, free: 7.211 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.4605, allocations: 8.559 MB / 474 MB, free: 15.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001251/0.4618, allocations: 1.349 MB / 475.3 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006147/0.4624, allocations: 208.3 kB / 475.6 MB, free: 14.32 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006011/0.463, allocations: 395.3 kB / 475.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of SimCode: time 1.392e-06/0.463, allocations: 4 kB / 475.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05461/0.5176, allocations: 19.33 MB / 495.3 MB, free: 10.8 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.263/9.781, allocations: 6.094 kB / 495.3 MB, free: 10.8 MB / 398.1 MB " [Timeout remaining time 650] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 12.281453701201826]