Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.0008227/0.0008227, allocations: 83.69 kB / 20.68 MB, free: 3.883 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.0008937/0.0008937, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9102/0.9102, allocations: 177.1 MB / 204.3 MB, free: 5.707 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.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.154e-06/2.154e-06, allocations: 0 / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.287e-05/2.503e-05, allocations: 4.672 kB / 324.6 MB, free: 15.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.004529/0.004554, allocations: 3.483 MB / 328 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.006211, allocations: 1.044 MB / 329.1 MB, free: 11.25 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002052/0.006416, allocations: 27.81 kB / 329.1 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002699/0.006686, allocations: 162.8 kB / 329.3 MB, free: 11.06 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006874/0.007373, allocations: 325.9 kB / 329.6 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.007593, allocations: 131.8 kB / 329.7 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001102/0.008695, allocations: 1.467 MB / 331.2 MB, free: 9.137 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005815/0.009276, allocations: 0.6357 MB / 331.8 MB, free: 8.461 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008681/0.01014, allocations: 0.9512 MB / 332.8 MB, free: 7.508 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.01092, allocations: 0.7249 MB / 333.5 MB, free: 6.781 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001599/0.01108, allocations: 160 kB / 333.7 MB, free: 6.625 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001829/0.01126, allocations: 160 kB / 333.8 MB, free: 6.469 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002722/0.01153, allocations: 490.5 kB / 334.3 MB, free: 5.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.01192, allocations: 0.5223 MB / 334.8 MB, free: 5.465 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.0131, allocations: 2.107 MB / 336.9 MB, free: 3.352 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.01311, allocations: 4 kB / 336.9 MB, free: 3.348 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.01311, allocations: 4 kB / 336.9 MB, free: 3.344 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.303e-05/0.01313, allocations: 0 / 336.9 MB, free: 3.344 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.001707/0.01484, allocations: 1.638 MB / 338.6 MB, free: 1.668 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.611e-05/0.01487, allocations: 12.03 kB / 338.6 MB, free: 1.656 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000141/0.01501, allocations: 181.2 kB / 338.8 MB, free: 1.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002926/0.01531, allocations: 176 kB / 338.9 MB, free: 1.297 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008962/0.0162, allocations: 0.8545 MB / 339.8 MB, free: 416 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.01625, allocations: 86.62 kB / 339.9 MB, free: 328 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001015/0.01635, allocations: 116.3 kB / 340 MB, free: 212 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.01799, allocations: 1.723 MB / 341.7 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.849e-05/0.01801, allocations: 0 / 341.7 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.429e-05/0.01807, allocations: 48 kB / 341.8 MB, free: 14.36 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.584e-05/0.01809, allocations: 28 kB / 341.8 MB, free: 14.33 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001329/0.01942, allocations: 1.332 MB / 343.1 MB, free: 12.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00361/0.02303, allocations: 3.877 MB / 347 MB, free: 8.988 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005922/0.02362, allocations: 0.6196 MB / 347.6 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.02419, allocations: 0.4985 MB / 348.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.02422, allocations: 12.48 kB / 348.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.593e-05/0.02424, allocations: 39.06 kB / 348.2 MB, free: 7.801 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.174e-06/0.02425, allocations: 3.938 kB / 348.2 MB, free: 7.797 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.0009043/0.02515, allocations: 0.8791 MB / 349 MB, free: 6.914 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.02519, allocations: 59.91 kB / 349.1 MB, free: 6.84 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006813/0.02587, allocations: 0.836 MB / 349.9 MB, free: 5.992 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.237e-05/0.0259, allocations: 37.7 kB / 350 MB, free: 5.949 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002694/0.02617, allocations: 0.5545 MB / 350.5 MB, free: 5.387 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.476e-05/0.02626, allocations: 182.5 kB / 350.7 MB, free: 5.207 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.02637, allocations: 98.34 kB / 350.8 MB, free: 5.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001365/0.02651, allocations: 390.7 kB / 351.2 MB, free: 4.715 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003013/0.02681, allocations: 305 kB / 351.5 MB, free: 4.418 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003459/0.02716, allocations: 399.4 kB / 351.9 MB, free: 3.996 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000656/0.02781, allocations: 0.6895 MB / 352.6 MB, free: 3.277 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.02782, allocations: 4 kB / 352.6 MB, free: 3.273 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0007543/0.02857, allocations: 0.8286 MB / 353.4 MB, free: 2.438 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.02859, allocations: 4 kB / 353.4 MB, free: 2.434 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.02859, allocations: 7.938 kB / 353.4 MB, free: 2.426 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/0.02861, allocations: 4.281 kB / 353.4 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003128/0.02892, allocations: 147.8 kB / 353.6 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.02893, allocations: 11.92 kB / 353.6 MB, free: 2.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001776/0.02911, allocations: 63.59 kB / 353.6 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.376e-05/0.02913, allocations: 20 kB / 353.6 MB, free: 2.184 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.0003632/0.0295, allocations: 469.3 kB / 354.1 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.02956, allocations: 75.53 kB / 354.2 MB, free: 1.641 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.89e-05/0.02965, allocations: 91.08 kB / 354.3 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.02966, allocations: 4 kB / 354.3 MB, free: 1.539 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.02966, allocations: 4 kB / 354.3 MB, free: 1.535 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.02967, allocations: 3.984 kB / 354.3 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001886/0.03155, allocations: 1.837 MB / 356.1 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.03156, allocations: 3.938 kB / 356.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.03182, allocations: 111.9 kB / 356.2 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.03182, allocations: 4 kB / 356.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.03184, allocations: 15.98 kB / 356.2 MB, free: 15.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.03185, allocations: 4 kB / 356.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.03185, allocations: 4 kB / 356.3 MB, free: 15.49 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009762/0.03283, allocations: 1.124 MB / 357.4 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.868e-05/0.03292, allocations: 103.4 kB / 357.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.03297, allocations: 8 kB / 357.5 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001902/0.03316, allocations: 47.95 kB / 357.5 MB, free: 14.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.205e-05/0.03323, allocations: 44.42 kB / 357.6 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-05/0.03326, allocations: 19.94 kB / 357.6 MB, free: 14.12 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007572/0.03401, allocations: 0.5966 MB / 358.2 MB, free: 13.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03401, allocations: 3.938 kB / 358.2 MB, free: 13.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004152/0.03443, allocations: 295 kB / 358.5 MB, free: 13.23 MB / 330.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.001226/0.03566, allocations: 1.681 MB / 360.2 MB, free: 11.51 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006338/0.03629, allocations: 0.6269 MB / 360.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.03629, allocations: 0 / 360.8 MB, free: 10.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.03657, allocations: 311.5 kB / 361.1 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005234/0.03709, allocations: 186.9 kB / 361.3 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008437/0.04553, allocations: 8.543 MB / 369.8 MB, free: 1.664 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000593/0.04612, allocations: 0.7486 MB / 370.6 MB, free: 0.8789 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003524/0.04647, allocations: 209.8 kB / 370.8 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003328/0.04681, allocations: 392.4 kB / 371.2 MB, free: 296 kB / 330.7 MB Notification: Performance of SimCode: time 1.392e-06/0.04681, allocations: 0 / 371.2 MB, free: 296 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03235/0.07916, allocations: 20.77 MB / 391.9 MB, free: 11.81 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.022/7.102, allocations: 3.859 kB / 391.9 MB, free: 11.81 MB / 362.7 MB " [Timeout remaining time 653] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 8.838491270318627]