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.001496/0.001496, allocations: 108.6 kB / 21.22 MB, free: 0.7305 MB / 14.72 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.001561/0.001561, allocations: 191.5 kB / 24.51 MB, free: 4.086 MB / 14.72 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 1.38/1.38, allocations: 225.6 MB / 253.3 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001478/0.001478, allocations: 43.94 kB / 371.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2591, allocations: 52.2 MB / 423.4 MB, free: 14.91 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005305/0.2644, allocations: 3.807 MB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002076/0.2665, allocations: 1.009 MB / 428.2 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002582/0.2667, allocations: 27.81 kB / 428.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.2671, allocations: 158.8 kB / 428.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008258/0.2679, allocations: 314.3 kB / 428.7 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002333/0.2681, allocations: 123.9 kB / 428.8 MB, free: 9.461 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001432/0.2696, allocations: 1.412 MB / 430.2 MB, free: 8.043 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008691/0.2704, allocations: 0.6552 MB / 430.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007809/0.2712, allocations: 0.6503 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001139/0.2723, allocations: 0.7979 MB / 432.4 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000209/0.2726, allocations: 163.9 kB / 432.5 MB, free: 5.734 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002523/0.2728, allocations: 160 kB / 432.7 MB, free: 5.578 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004506/0.2733, allocations: 466.6 kB / 433.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008591/0.2741, allocations: 0.7428 MB / 433.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002088/0.2762, allocations: 2.068 MB / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.2762, allocations: 0 / 435.9 MB, free: 2.301 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.757e-06/0.2762, allocations: 4 kB / 435.9 MB, free: 2.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.139e-05/0.2762, allocations: 4 kB / 435.9 MB, free: 2.293 MB / 334.1 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.003104/0.2794, allocations: 1.646 MB / 437.6 MB, free: 0.6094 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.129e-05/0.2794, allocations: 12.03 kB / 437.6 MB, free: 0.5977 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.963e-05/0.2794, allocations: 30.44 kB / 437.6 MB, free: 0.5664 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002058/0.2796, allocations: 177.3 kB / 437.8 MB, free: 392 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002311/0.2799, allocations: 163.9 kB / 438 MB, free: 228 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.2813, allocations: 0.82 MB / 438.8 MB, free: 15.37 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.285e-05/0.2814, allocations: 82.25 kB / 438.9 MB, free: 15.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001673/0.2815, allocations: 112 kB / 439 MB, free: 15.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002451/0.284, allocations: 1.576 MB / 440.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.284, allocations: 0 / 440.6 MB, free: 13.56 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.2841, allocations: 44 kB / 440.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.2841, allocations: 31.98 kB / 440.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002139/0.2863, allocations: 1.34 MB / 442 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006896/0.2932, allocations: 4.207 MB / 446.2 MB, free: 7.797 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001001/0.2942, allocations: 0.6271 MB / 446.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009008/0.2951, allocations: 0.4955 MB / 447.3 MB, free: 6.664 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.2951, allocations: 8.438 kB / 447.3 MB, free: 6.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.851e-05/0.2951, allocations: 38.98 kB / 447.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.365e-06/0.2951, allocations: 4 kB / 447.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.001518/0.2967, allocations: 0.8694 MB / 448.2 MB, free: 5.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.2967, allocations: 59.78 kB / 448.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001083/0.2978, allocations: 0.8243 MB / 449.1 MB, free: 4.828 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.475e-05/0.2978, allocations: 37.7 kB / 449.1 MB, free: 4.785 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000443/0.2983, allocations: 0.5507 MB / 449.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001648/0.2985, allocations: 190.4 kB / 449.9 MB, free: 4.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.2986, allocations: 102.3 kB / 450 MB, free: 3.934 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.2988, allocations: 386.8 kB / 450.3 MB, free: 3.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004712/0.2993, allocations: 305 kB / 450.6 MB, free: 3.25 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005753/0.2999, allocations: 391.4 kB / 451 MB, free: 2.84 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.3009, allocations: 0.6932 MB / 451.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.3009, allocations: 0 / 451.7 MB, free: 2.113 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001345/0.3022, allocations: 0.817 MB / 452.5 MB, free: 1.289 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.3023, allocations: 7.281 kB / 452.5 MB, free: 1.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/0.3023, allocations: 16.16 kB / 452.6 MB, free: 1.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.3023, allocations: 11.98 kB / 452.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005909/0.3029, allocations: 139.9 kB / 452.7 MB, free: 1.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.806e-05/0.3029, allocations: 15.86 kB / 452.7 MB, free: 1.105 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003937/0.3033, allocations: 59.61 kB / 452.8 MB, free: 1.047 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.082e-05/0.3033, allocations: 27.98 kB / 452.8 MB, free: 1.02 MB / 350.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.00064/0.304, allocations: 449.5 kB / 453.2 MB, free: 0.5703 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.3041, allocations: 83.53 kB / 453.3 MB, free: 500 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001674/0.3043, allocations: 95.06 kB / 453.4 MB, free: 404 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.456e-06/0.3043, allocations: 4 kB / 453.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3043, allocations: 7.938 kB / 453.4 MB, free: 392 kB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.3043, allocations: 3.938 kB / 453.4 MB, free: 388 kB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003089/0.3074, allocations: 1.917 MB / 455.4 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.3074, allocations: 3.938 kB / 455.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004983/0.3079, allocations: 124 kB / 455.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.3079, allocations: 4 kB / 455.5 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.3079, allocations: 12 kB / 455.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.3079, allocations: 4 kB / 455.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.3079, allocations: 0 / 455.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.3096, allocations: 1.134 MB / 456.6 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.3098, allocations: 103.4 kB / 456.7 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.3099, allocations: 12 kB / 456.7 MB, free: 12.97 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004045/0.3103, allocations: 51.94 kB / 456.8 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.3104, allocations: 44.31 kB / 456.8 MB, free: 12.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.3104, allocations: 15.98 kB / 456.9 MB, free: 12.86 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007729/0.3112, allocations: 0.5888 MB / 457.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3112, allocations: 0 / 457.4 MB, free: 12.28 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007353/0.312, allocations: 287.1 kB / 457.7 MB, free: 12 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.001937/0.3139, allocations: 1.682 MB / 459.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001082/0.315, allocations: 0.6298 MB / 460 MB, free: 9.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.315, allocations: 4.562 kB / 460 MB, free: 9.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004609/0.3154, allocations: 310.2 kB / 460.3 MB, free: 9.328 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000884/0.3163, allocations: 183.1 kB / 460.5 MB, free: 9.152 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0125/0.3288, allocations: 8.528 MB / 469.1 MB, free: 448 kB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.3298, allocations: 1.332 MB / 470.4 MB, free: 15.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004967/0.3303, allocations: 205.8 kB / 470.6 MB, free: 14.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005041/0.3308, allocations: 387.3 kB / 471 MB, free: 14.5 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3308, allocations: 4 kB / 471 MB, free: 14.49 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04954/0.3804, allocations: 19.69 MB / 490.7 MB, free: 11.06 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.12, allocations: 7.438 kB / 490.7 MB, free: 11.05 MB / 398.1 MB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/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: 14.613207307993434]