Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008357/0.0008357, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 153.1 kB / 23.93 MB, free: 0.6328 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9147/0.9147, allocations: 173.4 MB / 200.4 MB, free: 9.43 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.903e-06/1.903e-06, allocations: 0 / 318.4 MB, free: 6.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.946e-05/2.136e-05, allocations: 6.219 kB / 318.4 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004848/0.004869, allocations: 3.447 MB / 321.9 MB, free: 2.75 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001772/0.006641, allocations: 0.9619 MB / 322.8 MB, free: 1.785 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002557/0.006897, allocations: 27.81 kB / 322.9 MB, free: 1.758 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003372/0.007234, allocations: 166.8 kB / 323 MB, free: 1.594 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008955/0.00813, allocations: 317.9 kB / 323.3 MB, free: 1.281 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004008/0.008531, allocations: 123.8 kB / 323.5 MB, free: 1.16 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001335/0.009865, allocations: 1.459 MB / 324.9 MB, free: 15.7 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008569/0.01072, allocations: 0.6473 MB / 325.6 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001042/0.01176, allocations: 0.9396 MB / 326.5 MB, free: 14.07 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.01313, allocations: 0.7209 MB / 327.2 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000233/0.01337, allocations: 160 kB / 327.4 MB, free: 13.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002239/0.01359, allocations: 160 kB / 327.5 MB, free: 13.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003676/0.01396, allocations: 482.6 kB / 328 MB, free: 12.56 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004677/0.01443, allocations: 0.5145 MB / 328.5 MB, free: 12.04 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001186/0.01561, allocations: 2.104 MB / 330.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.01561, allocations: 0 / 330.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.01562, allocations: 0 / 330.6 MB, free: 9.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.534e-05/0.01565, allocations: 3.938 kB / 330.6 MB, free: 9.93 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.001877/0.01753, allocations: 1.638 MB / 332.3 MB, free: 8.254 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.01757, allocations: 8.922 kB / 332.3 MB, free: 8.246 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001502/0.01772, allocations: 177.3 kB / 332.5 MB, free: 8.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001606/0.01788, allocations: 148 kB / 332.6 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009088/0.01879, allocations: 0.835 MB / 333.4 MB, free: 7.055 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.343e-05/0.01883, allocations: 82.62 kB / 333.5 MB, free: 6.973 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000105/0.01894, allocations: 112.4 kB / 333.6 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.02091, allocations: 1.727 MB / 335.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.784e-05/0.02093, allocations: 0 / 335.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.639e-05/0.021, allocations: 44 kB / 335.4 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.824e-05/0.02101, allocations: 28 kB / 335.4 MB, free: 4.984 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.0224, allocations: 1.336 MB / 336.8 MB, free: 3.637 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003828/0.02623, allocations: 3.889 MB / 340.6 MB, free: 15.62 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006028/0.02683, allocations: 0.6146 MB / 341.3 MB, free: 14.99 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007742/0.02761, allocations: 0.4909 MB / 341.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.121e-05/0.02763, allocations: 8.5 kB / 341.8 MB, free: 14.49 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.02765, allocations: 43 kB / 341.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 1.694e-06/0.02765, allocations: 0 / 341.8 MB, free: 14.44 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.000885/0.02854, allocations: 0.8752 MB / 342.7 MB, free: 13.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.02857, allocations: 59.91 kB / 342.7 MB, free: 13.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006419/0.02921, allocations: 0.8204 MB / 343.6 MB, free: 12.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.02924, allocations: 37.7 kB / 343.6 MB, free: 12.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002454/0.02949, allocations: 0.5545 MB / 344.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.18e-05/0.02957, allocations: 182.4 kB / 344.3 MB, free: 11.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.02967, allocations: 102.3 kB / 344.4 MB, free: 11.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001121/0.02978, allocations: 394.7 kB / 344.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002821/0.03006, allocations: 297.1 kB / 345.1 MB, free: 11.09 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.03038, allocations: 403.3 kB / 345.5 MB, free: 10.66 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006093/0.03099, allocations: 0.6973 MB / 346.2 MB, free: 9.938 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.03099, allocations: 0 / 346.2 MB, free: 9.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007532/0.03175, allocations: 0.8248 MB / 347 MB, free: 9.105 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.03176, allocations: 4 kB / 347 MB, free: 9.102 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.03177, allocations: 4 kB / 347 MB, free: 9.098 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.03178, allocations: 4 kB / 347 MB, free: 9.094 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003258/0.03211, allocations: 152.1 kB / 347.2 MB, free: 8.945 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.03212, allocations: 11.94 kB / 347.2 MB, free: 8.934 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001802/0.0323, allocations: 67.59 kB / 347.3 MB, free: 8.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.323e-05/0.03232, allocations: 16 kB / 347.3 MB, free: 8.852 MB / 314.7 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.000351/0.03267, allocations: 465.3 kB / 347.7 MB, free: 8.387 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.766e-05/0.03274, allocations: 79.53 kB / 347.8 MB, free: 8.309 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.13e-05/0.03282, allocations: 91.08 kB / 347.9 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.03282, allocations: 4 kB / 347.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.03283, allocations: 0 / 347.9 MB, free: 8.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.03283, allocations: 7.984 kB / 347.9 MB, free: 8.203 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.03475, allocations: 1.826 MB / 349.7 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.03476, allocations: 7.984 kB / 349.7 MB, free: 6.301 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002547/0.03501, allocations: 115.8 kB / 349.9 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.03501, allocations: 4 kB / 349.9 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.03504, allocations: 15.98 kB / 349.9 MB, free: 6.168 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.03504, allocations: 4 kB / 349.9 MB, free: 6.164 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.03504, allocations: 4 kB / 349.9 MB, free: 6.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009255/0.03597, allocations: 1.124 MB / 351 MB, free: 5.008 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.896e-05/0.03607, allocations: 103.4 kB / 351.1 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.77e-05/0.03611, allocations: 12 kB / 351.1 MB, free: 4.895 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.03631, allocations: 43.95 kB / 351.2 MB, free: 4.852 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.771e-05/0.03638, allocations: 44.42 kB / 351.2 MB, free: 4.809 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.03639, allocations: 24.03 kB / 351.2 MB, free: 4.785 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004554/0.03685, allocations: 0.5849 MB / 351.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.03685, allocations: 0 / 351.8 MB, free: 4.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003858/0.03723, allocations: 295 kB / 352.1 MB, free: 3.918 MB / 314.7 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.0011/0.03833, allocations: 1.676 MB / 353.8 MB, free: 2.195 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006308/0.03897, allocations: 0.6385 MB / 354.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.03897, allocations: 0 / 354.4 MB, free: 1.555 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000268/0.03924, allocations: 306.6 kB / 354.7 MB, free: 1.258 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005219/0.03976, allocations: 183.5 kB / 354.9 MB, free: 1.078 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007683/0.04744, allocations: 8.492 MB / 363.4 MB, free: 8.387 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004798/0.04792, allocations: 0.7446 MB / 364.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003024/0.04822, allocations: 209.8 kB / 364.3 MB, free: 7.395 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.04857, allocations: 388.4 kB / 364.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of SimCode: time 5.01e-07/0.04857, allocations: 0 / 364.7 MB, free: 7.016 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02815/0.07672, allocations: 20.65 MB / 385.4 MB, free: 2.652 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.267/7.343, allocations: 10.75 kB / 385.4 MB, free: 2.645 MB / 346.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 9.049936980940402]