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.001275/0.001275, allocations: 112.2 kB / 21.22 MB, free: 0.75 MB / 14.72 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.001523/0.001523, allocations: 205.2 kB / 24.52 MB, free: 4.156 MB / 14.72 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 1.397/1.397, allocations: 230.6 MB / 258.3 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001574/0.001574, allocations: 47.92 kB / 378.6 MB, free: 3.121 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2451, allocations: 53.36 MB / 431.9 MB, free: 6.836 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.00609/0.2512, allocations: 3.821 MB / 435.7 MB, free: 3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002333/0.2535, allocations: 1.032 MB / 436.8 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005354/0.2541, allocations: 27.81 kB / 436.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005229/0.2546, allocations: 158.8 kB / 436.9 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001218/0.2558, allocations: 286.4 kB / 437.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004527/0.2563, allocations: 139.8 kB / 437.4 MB, free: 1.363 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001914/0.2582, allocations: 1.409 MB / 438.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/0.2592, allocations: 0.6369 MB / 439.4 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.2602, allocations: 0.6503 MB / 440.1 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/0.2618, allocations: 0.7783 MB / 440.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004349/0.2622, allocations: 156 kB / 441 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005713/0.2628, allocations: 156 kB / 441.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006191/0.2634, allocations: 466.6 kB / 441.6 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001237/0.2646, allocations: 0.735 MB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00208/0.2667, allocations: 2.048 MB / 444.4 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.2667, allocations: 4 kB / 444.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2667, allocations: 0 / 444.4 MB, free: 10.28 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.819e-05/0.2668, allocations: 0 / 444.4 MB, free: 10.28 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003008/0.2698, allocations: 1.63 MB / 446 MB, free: 8.613 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.2698, allocations: 8.031 kB / 446 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.136e-05/0.2698, allocations: 30.41 kB / 446.1 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002159/0.2701, allocations: 177.2 kB / 446.2 MB, free: 8.391 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000507/0.2706, allocations: 172 kB / 446.4 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001474/0.272, allocations: 0.8588 MB / 447.3 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.445e-05/0.2721, allocations: 82.22 kB / 447.3 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/0.2723, allocations: 108 kB / 447.4 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00235/0.2747, allocations: 1.548 MB / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.104e-05/0.2747, allocations: 0 / 449 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.956e-05/0.2748, allocations: 44 kB / 449 MB, free: 5.512 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.613e-05/0.2748, allocations: 32 kB / 449.1 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/0.2768, allocations: 1.316 MB / 450.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006261/0.2831, allocations: 4.121 MB / 454.5 MB, free: 15.9 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009289/0.284, allocations: 0.6045 MB / 455.1 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000699/0.2847, allocations: 434.5 kB / 455.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.09e-05/0.2847, allocations: 4.438 kB / 455.5 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.387e-05/0.2848, allocations: 43 kB / 455.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.314e-06/0.2848, allocations: 0 / 455.6 MB, free: 14.8 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003284/0.2881, allocations: 1.881 MB / 457.5 MB, free: 12.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.2881, allocations: 63.72 kB / 457.5 MB, free: 12.81 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001171/0.2893, allocations: 0.8282 MB / 458.3 MB, free: 11.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.01e-05/0.2893, allocations: 37.7 kB / 458.4 MB, free: 11.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004336/0.2898, allocations: 0.5545 MB / 458.9 MB, free: 11.37 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001608/0.2899, allocations: 182.5 kB / 459.1 MB, free: 11.19 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001747/0.2901, allocations: 106.3 kB / 459.2 MB, free: 11.08 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002021/0.2903, allocations: 386.8 kB / 459.6 MB, free: 10.7 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.2908, allocations: 309 kB / 459.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005548/0.2913, allocations: 404.3 kB / 460.3 MB, free: 9.969 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001048/0.2924, allocations: 0.6979 MB / 461 MB, free: 9.238 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2924, allocations: 7.938 kB / 461 MB, free: 9.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001517/0.2939, allocations: 0.9114 MB / 461.9 MB, free: 8.309 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.2939, allocations: 4 kB / 461.9 MB, free: 8.305 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.2939, allocations: 4 kB / 461.9 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000304/0.2942, allocations: 117 kB / 462 MB, free: 8.184 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005017/0.2948, allocations: 119.9 kB / 462.1 MB, free: 8.066 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002366/0.2971, allocations: 2.265 MB / 464.4 MB, free: 5.691 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003762/0.2975, allocations: 27.97 kB / 464.4 MB, free: 5.664 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.2975, allocations: 16 kB / 464.5 MB, free: 5.648 MB / 366.1 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.0006242/0.2982, allocations: 469.4 kB / 464.9 MB, free: 5.18 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001365/0.2983, allocations: 75.53 kB / 465 MB, free: 5.105 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.2985, allocations: 91.08 kB / 465.1 MB, free: 5.012 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.2985, allocations: 4 kB / 465.1 MB, free: 5.008 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.4e-05/0.2985, allocations: 7.938 kB / 465.1 MB, free: 5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.093e-06/0.2985, allocations: 3.984 kB / 465.1 MB, free: 4.996 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003363/0.3019, allocations: 1.981 MB / 467.1 MB, free: 2.945 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.3019, allocations: 4 kB / 467.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003498/0.3022, allocations: 87.88 kB / 467.2 MB, free: 2.855 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002347/0.3024, allocations: 104.9 kB / 467.3 MB, free: 2.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.564e-05/0.3025, allocations: 16 kB / 467.3 MB, free: 2.734 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/0.3047, allocations: 2.222 MB / 469.5 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/0.3047, allocations: 7.969 kB / 469.5 MB, free: 396 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001702/0.3064, allocations: 1.201 MB / 470.7 MB, free: 15.15 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000211/0.3066, allocations: 91.59 kB / 470.8 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001025/0.3067, allocations: 16 kB / 470.8 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.3071, allocations: 47.95 kB / 470.9 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001227/0.3072, allocations: 52.17 kB / 470.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3073, allocations: 15.98 kB / 470.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008001/0.3081, allocations: 0.5927 MB / 471.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3081, allocations: 0 / 471.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0007606/0.3088, allocations: 212 kB / 471.7 MB, free: 14.13 MB / 382.1 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.002057/0.3109, allocations: 1.761 MB / 473.5 MB, free: 12.33 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001404/0.3123, allocations: 0.7925 MB / 474.3 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/0.3123, allocations: 4 kB / 474.3 MB, free: 11.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007357/0.313, allocations: 481.7 kB / 474.8 MB, free: 11.04 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008647/0.3139, allocations: 181.5 kB / 474.9 MB, free: 10.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01242/0.3263, allocations: 8.653 MB / 483.6 MB, free: 2.008 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001172/0.3275, allocations: 1.344 MB / 484.9 MB, free: 0.6367 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004828/0.328, allocations: 185.8 kB / 485.1 MB, free: 464 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005436/0.3285, allocations: 379.3 kB / 485.5 MB, free: 84 kB / 382.1 MB Notification: Performance of SimCode: time 7.92e-07/0.3285, allocations: 4 kB / 485.5 MB, free: 80 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05639/0.3849, allocations: 20.22 MB / 0.4939 GB, free: 12.13 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.35/12.73, allocations: 8.688 kB / 0.4939 GB, free: 12.12 MB / 414.1 MB " [Timeout remaining time 647] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/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: 15.217028492013924]