Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008069/0.0008069, allocations: 79.69 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008134/0.0008134, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9164/0.9164, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 324.5 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.924e-05/2.076e-05, allocations: 6.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003713/0.003734, allocations: 3.475 MB / 328 MB, free: 12.44 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001788/0.005522, allocations: 0.993 MB / 329 MB, free: 11.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.005741, allocations: 31.75 kB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.006005, allocations: 154.8 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006714/0.006676, allocations: 298.1 kB / 329.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002866/0.006963, allocations: 143.8 kB / 329.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001257/0.00822, allocations: 1.447 MB / 331.1 MB, free: 9.375 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007108/0.008931, allocations: 0.6196 MB / 331.7 MB, free: 8.715 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001389/0.01032, allocations: 0.9278 MB / 332.6 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008704/0.01119, allocations: 0.7014 MB / 333.3 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002397/0.01143, allocations: 160 kB / 333.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002401/0.01167, allocations: 171.9 kB / 333.7 MB, free: 6.758 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000296/0.01197, allocations: 478.6 kB / 334.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004208/0.01239, allocations: 0.5067 MB / 334.6 MB, free: 5.781 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001219/0.01361, allocations: 2.08 MB / 336.7 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.01361, allocations: 0 / 336.7 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.733e-06/0.01361, allocations: 0 / 336.7 MB, free: 3.695 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.852e-05/0.01363, allocations: 0 / 336.7 MB, free: 3.695 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.001823/0.01545, allocations: 1.626 MB / 338.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.0155, allocations: 8.031 kB / 338.3 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.01565, allocations: 177.2 kB / 338.5 MB, free: 1.844 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003142/0.01596, allocations: 176 kB / 338.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0012/0.01716, allocations: 0.8389 MB / 339.5 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.429e-05/0.01721, allocations: 86.59 kB / 339.6 MB, free: 0.7109 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.01732, allocations: 108.4 kB / 339.7 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001551/0.01887, allocations: 1.703 MB / 341.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.01888, allocations: 0 / 341.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-05/0.01895, allocations: 44 kB / 341.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.01897, allocations: 28 kB / 341.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001509/0.02047, allocations: 1.312 MB / 342.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004428/0.0249, allocations: 3.803 MB / 346.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.02549, allocations: 0.6122 MB / 347.2 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004402/0.02593, allocations: 442.6 kB / 347.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.02596, allocations: 4.5 kB / 347.7 MB, free: 8.445 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.02599, allocations: 39.06 kB / 347.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 3.126e-06/0.02599, allocations: 0 / 347.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.002179/0.02817, allocations: 1.888 MB / 349.6 MB, free: 6.473 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.242e-05/0.02821, allocations: 59.84 kB / 349.6 MB, free: 6.402 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007875/0.029, allocations: 0.8321 MB / 350.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.02903, allocations: 37.7 kB / 350.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002752/0.0293, allocations: 0.5584 MB / 351.1 MB, free: 4.953 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.0294, allocations: 178.5 kB / 351.2 MB, free: 4.777 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001095/0.0295, allocations: 106.3 kB / 351.3 MB, free: 4.668 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.02964, allocations: 390.7 kB / 351.7 MB, free: 4.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002961/0.02994, allocations: 301.1 kB / 352 MB, free: 3.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003405/0.03028, allocations: 404.2 kB / 352.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000637/0.03091, allocations: 0.7021 MB / 353.1 MB, free: 2.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.03092, allocations: 3.938 kB / 353.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001151/0.03207, allocations: 0.9153 MB / 354 MB, free: 1.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.03209, allocations: 4.312 kB / 354 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.0321, allocations: 11.98 kB / 354.1 MB, free: 1.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.0323, allocations: 108.7 kB / 354.2 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002874/0.03259, allocations: 115.9 kB / 354.3 MB, free: 1.648 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001638/0.03423, allocations: 2.242 MB / 356.5 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001911/0.03442, allocations: 27.97 kB / 356.5 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.771e-05/0.03444, allocations: 16 kB / 356.6 MB, free: 15.25 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * 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.0004802/0.03492, allocations: 461.3 kB / 357 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.283e-05/0.035, allocations: 79.48 kB / 357.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.649e-05/0.03508, allocations: 99.25 kB / 357.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.03509, allocations: 4 kB / 357.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/0.0351, allocations: 15.94 kB / 357.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.0351, allocations: 0 / 357.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.03702, allocations: 1.9 MB / 359.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.03703, allocations: 0 / 359.1 MB, free: 12.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001829/0.03721, allocations: 91.88 kB / 359.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001562/0.03737, allocations: 104.7 kB / 359.3 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.087e-05/0.03739, allocations: 12.16 kB / 359.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001608/0.03899, allocations: 2.199 MB / 361.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.039, allocations: 8.062 kB / 361.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001044/0.04004, allocations: 1.199 MB / 362.7 MB, free: 8.859 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.04015, allocations: 87.55 kB / 362.8 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.04019, allocations: 15.98 kB / 362.8 MB, free: 8.758 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001989/0.04039, allocations: 52.02 kB / 362.9 MB, free: 8.707 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.381e-05/0.04048, allocations: 48.3 kB / 362.9 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.04049, allocations: 12 kB / 362.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004951/0.04099, allocations: 0.5888 MB / 363.5 MB, free: 8.066 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04099, allocations: 4 kB / 363.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005127/0.0415, allocations: 208 kB / 363.7 MB, free: 7.859 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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.001324/0.04283, allocations: 1.763 MB / 365.5 MB, free: 6.047 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000952/0.04378, allocations: 0.794 MB / 366.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.04378, allocations: 0 / 366.3 MB, free: 5.242 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000462/0.04424, allocations: 481.1 kB / 366.7 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/0.04482, allocations: 195.3 kB / 366.9 MB, free: 4.57 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009215/0.05403, allocations: 8.651 MB / 375.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005823/0.05462, allocations: 0.7524 MB / 376.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003707/0.05499, allocations: 185.8 kB / 376.5 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003264/0.05531, allocations: 380.4 kB / 376.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of SimCode: time 1.513e-06/0.05532, allocations: 0 / 376.9 MB, free: 10.37 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.09299, allocations: 21.19 MB / 398.1 MB, free: 5.469 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.336/7.429, allocations: 64 / 398.1 MB, free: 5.469 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 9.175217802636325]