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.001456/0.001456, allocations: 115.8 kB / 20.43 MB, free: 1.457 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.001695/0.001695, allocations: 213.1 kB / 23.75 MB, free: 4.668 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8 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="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 0.001733/0.001733, allocations: 51.92 kB / 377.8 MB, free: 3.129 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2753/0.2771, allocations: 53.36 MB / 431.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.006009/0.2831, allocations: 3.819 MB / 435 MB, free: 3.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002341/0.2854, allocations: 1.028 MB / 436 MB, free: 1.996 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005627/0.286, allocations: 31.81 kB / 436 MB, free: 1.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000519/0.2865, allocations: 154.8 kB / 436.2 MB, free: 1.812 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001217/0.2877, allocations: 294.4 kB / 436.5 MB, free: 1.523 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003964/0.2881, allocations: 143.8 kB / 436.6 MB, free: 1.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00159/0.2897, allocations: 1.397 MB / 438 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008356/0.2905, allocations: 0.6408 MB / 438.6 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008197/0.2914, allocations: 0.6464 MB / 439.3 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001102/0.2925, allocations: 0.7744 MB / 440.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002023/0.2927, allocations: 156 kB / 440.2 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00028/0.2929, allocations: 168 kB / 440.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004255/0.2934, allocations: 458.7 kB / 440.8 MB, free: 13.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007837/0.2942, allocations: 0.7311 MB / 441.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002047/0.2962, allocations: 2.055 MB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.2962, allocations: 0 / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.2962, allocations: 0 / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.178e-05/0.2962, allocations: 0 / 443.6 MB, free: 10.31 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.002961/0.2992, allocations: 1.626 MB / 445.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.2992, allocations: 12.03 kB / 445.2 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002205/0.2995, allocations: 177.2 kB / 445.4 MB, free: 8.453 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004912/0.2999, allocations: 172 kB / 445.6 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001557/0.3015, allocations: 0.8551 MB / 446.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.3016, allocations: 86.16 kB / 446.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001653/0.3017, allocations: 111.9 kB / 446.6 MB, free: 7.207 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002407/0.3041, allocations: 1.541 MB / 448.2 MB, free: 5.621 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.672e-05/0.3042, allocations: 7.938 kB / 448.2 MB, free: 5.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001034/0.3043, allocations: 48 kB / 448.2 MB, free: 5.566 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.439e-05/0.3043, allocations: 28 kB / 448.3 MB, free: 5.539 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/0.3064, allocations: 1.308 MB / 449.6 MB, free: 4.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006819/0.3133, allocations: 4.121 MB / 453.7 MB, free: 15.97 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009673/0.3142, allocations: 0.6084 MB / 454.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.3149, allocations: 434.5 kB / 454.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.315, allocations: 8.438 kB / 454.7 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.315, allocations: 39 kB / 454.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 2.765e-06/0.315, allocations: 3.938 kB / 454.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003499/0.3185, allocations: 1.881 MB / 456.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.3186, allocations: 55.84 kB / 456.7 MB, free: 12.88 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.3198, allocations: 0.8321 MB / 457.5 MB, free: 12.04 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.402e-05/0.3199, allocations: 37.7 kB / 457.6 MB, free: 12 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004707/0.3203, allocations: 0.5506 MB / 458.1 MB, free: 11.44 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.3205, allocations: 182.5 kB / 458.3 MB, free: 11.26 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001825/0.3207, allocations: 110.3 kB / 458.4 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000214/0.3209, allocations: 378.8 kB / 458.8 MB, free: 10.77 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005572/0.3214, allocations: 305.1 kB / 459.1 MB, free: 10.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005841/0.322, allocations: 412.2 kB / 459.5 MB, free: 10.04 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.3231, allocations: 0.6979 MB / 460.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.3231, allocations: 0 / 460.2 MB, free: 9.305 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00158/0.3247, allocations: 0.9113 MB / 461.1 MB, free: 8.383 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/0.3247, allocations: 8 kB / 461.1 MB, free: 8.375 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.7e-05/0.3247, allocations: 8.297 kB / 461.1 MB, free: 8.367 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003316/0.325, allocations: 108.8 kB / 461.2 MB, free: 8.258 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005294/0.3256, allocations: 123.8 kB / 461.3 MB, free: 8.137 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.3283, allocations: 2.273 MB / 463.6 MB, free: 5.754 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.3287, allocations: 32.03 kB / 463.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-05/0.3287, allocations: 19.98 kB / 463.7 MB, free: 5.703 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.000716/0.3295, allocations: 461.4 kB / 464.1 MB, free: 5.242 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.3296, allocations: 79.52 kB / 464.2 MB, free: 5.164 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001863/0.3298, allocations: 91.08 kB / 464.3 MB, free: 5.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.73e-06/0.3298, allocations: 4 kB / 464.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/0.3298, allocations: 7.938 kB / 464.3 MB, free: 5.059 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.3298, allocations: 3.984 kB / 464.3 MB, free: 5.055 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003752/0.3336, allocations: 1.981 MB / 466.3 MB, free: 3.004 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-06/0.3336, allocations: 4 kB / 466.3 MB, free: 3 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.334, allocations: 87.88 kB / 466.4 MB, free: 2.914 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002467/0.3342, allocations: 104.9 kB / 466.5 MB, free: 2.809 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.989e-05/0.3342, allocations: 11.94 kB / 466.5 MB, free: 2.797 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/0.3366, allocations: 2.226 MB / 468.7 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3367, allocations: 0 / 468.7 MB, free: 464 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.3385, allocations: 1.212 MB / 469.9 MB, free: 15.21 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.3387, allocations: 87.55 kB / 470 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001157/0.3388, allocations: 15.98 kB / 470 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004134/0.3392, allocations: 51.89 kB / 470.1 MB, free: 15.05 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001345/0.3394, allocations: 44.36 kB / 470.1 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-05/0.3394, allocations: 16 kB / 470.1 MB, free: 14.99 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008702/0.3403, allocations: 0.5927 MB / 470.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3403, allocations: 0 / 470.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008466/0.3411, allocations: 215.9 kB / 470.9 MB, free: 14.19 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.002158/0.3433, allocations: 1.753 MB / 472.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001455/0.3447, allocations: 0.8047 MB / 473.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3447, allocations: 0 / 473.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007731/0.3455, allocations: 484.9 kB / 474 MB, free: 11.09 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009207/0.3464, allocations: 171.1 kB / 474.1 MB, free: 10.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01362/0.36, allocations: 8.645 MB / 482.8 MB, free: 2.078 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.3613, allocations: 1.344 MB / 484.1 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004877/0.3618, allocations: 189.8 kB / 484.3 MB, free: 0.5195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005473/0.3623, allocations: 387.3 kB / 484.7 MB, free: 144 kB / 382.1 MB Notification: Performance of SimCode: time 1.132e-06/0.3623, allocations: 0 / 484.7 MB, free: 144 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06393/0.4263, allocations: 20.18 MB / 0.493 GB, free: 12.21 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.91/13.33, allocations: 12 kB / 0.493 GB, free: 12.2 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.827100710012019]