Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001296/0.001296, allocations: 109.5 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.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.001378/0.001378, allocations: 181.9 kB / 23.72 MB, free: 4.699 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.422/1.422, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001555/0.001555, allocations: 47.92 kB / 370.4 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2642/0.2657, allocations: 52.19 MB / 422.6 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005566/0.2713, allocations: 3.796 MB / 426.4 MB, free: 10.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002979/0.2743, allocations: 0.9735 MB / 427.4 MB, free: 9.801 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005756/0.2748, allocations: 27.81 kB / 427.4 MB, free: 9.773 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004439/0.2753, allocations: 154.8 kB / 427.6 MB, free: 9.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001037/0.2763, allocations: 294.4 kB / 427.9 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003035/0.2766, allocations: 131.8 kB / 428 MB, free: 9.203 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001608/0.2782, allocations: 1.393 MB / 429.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00092/0.2791, allocations: 0.6314 MB / 430 MB, free: 7.137 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008079/0.28, allocations: 0.6387 MB / 430.7 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001089/0.281, allocations: 0.7784 MB / 431.4 MB, free: 5.715 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002073/0.2812, allocations: 156 kB / 431.6 MB, free: 5.562 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.2815, allocations: 156 kB / 431.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.2819, allocations: 466.7 kB / 432.2 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008895/0.2828, allocations: 0.7272 MB / 432.9 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002235/0.2851, allocations: 2.044 MB / 435 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2851, allocations: 0 / 435 MB, free: 2.176 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.2851, allocations: 0 / 435 MB, free: 2.176 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.055e-05/0.2851, allocations: 0 / 435 MB, free: 2.176 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003226/0.2883, allocations: 1.622 MB / 436.6 MB, free: 0.5156 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2884, allocations: 8.031 kB / 436.6 MB, free: 0.5078 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002209/0.2886, allocations: 173.2 kB / 436.8 MB, free: 336 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002309/0.2888, allocations: 152 kB / 436.9 MB, free: 184 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001576/0.2904, allocations: 0.8241 MB / 437.7 MB, free: 15.32 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.357e-05/0.2905, allocations: 86.16 kB / 437.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001834/0.2907, allocations: 112 kB / 437.9 MB, free: 15.13 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002534/0.2932, allocations: 1.544 MB / 439.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.729e-05/0.2932, allocations: 0 / 439.5 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/0.2933, allocations: 48 kB / 439.5 MB, free: 13.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.2933, allocations: 24 kB / 439.5 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00228/0.2956, allocations: 1.324 MB / 440.9 MB, free: 12.14 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007263/0.3029, allocations: 4.105 MB / 445 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009603/0.3039, allocations: 0.613 MB / 445.6 MB, free: 7.277 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007139/0.3046, allocations: 430.5 kB / 446 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.053e-05/0.3046, allocations: 12.31 kB / 446 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.3046, allocations: 39 kB / 446.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 2.645e-06/0.3046, allocations: 0 / 446.1 MB, free: 6.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003436/0.3081, allocations: 1.888 MB / 447.9 MB, free: 4.867 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.294e-05/0.3081, allocations: 59.84 kB / 448 MB, free: 4.793 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.3092, allocations: 0.8204 MB / 448.8 MB, free: 3.961 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.632e-05/0.3093, allocations: 37.7 kB / 448.9 MB, free: 3.918 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004952/0.3098, allocations: 0.5545 MB / 449.4 MB, free: 3.355 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3099, allocations: 178.4 kB / 449.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001986/0.3101, allocations: 106.3 kB / 449.7 MB, free: 3.07 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002143/0.3104, allocations: 386.8 kB / 450.1 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004867/0.3108, allocations: 301.1 kB / 450.4 MB, free: 2.391 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/0.3114, allocations: 408.2 kB / 450.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.3124, allocations: 0.7057 MB / 451.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3124, allocations: 0 / 451.5 MB, free: 1.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001477/0.3139, allocations: 0.9116 MB / 452.4 MB, free: 308 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3139, allocations: 7.938 kB / 452.4 MB, free: 300 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.314, allocations: 4 kB / 452.4 MB, free: 296 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002972/0.3143, allocations: 112.8 kB / 452.5 MB, free: 180 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005363/0.3148, allocations: 127.9 kB / 452.6 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002458/0.3172, allocations: 2.249 MB / 454.9 MB, free: 13.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003558/0.3176, allocations: 28.06 kB / 454.9 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.924e-05/0.3176, allocations: 24.12 kB / 454.9 MB, free: 13.64 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.0006673/0.3183, allocations: 449.5 kB / 455.4 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.3184, allocations: 87.53 kB / 455.5 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001683/0.3186, allocations: 91.06 kB / 455.5 MB, free: 13.01 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.3186, allocations: 4 kB / 455.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.171e-05/0.3186, allocations: 7.938 kB / 455.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3186, allocations: 0 / 455.6 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003313/0.3219, allocations: 1.988 MB / 457.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3219, allocations: 0 / 457.5 MB, free: 10.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003617/0.3223, allocations: 95.81 kB / 457.6 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002394/0.3225, allocations: 100.7 kB / 457.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.416e-05/0.3226, allocations: 12 kB / 457.7 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002309/0.3249, allocations: 2.235 MB / 460 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.3249, allocations: 0 / 460 MB, free: 8.387 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001717/0.3266, allocations: 1.197 MB / 461.2 MB, free: 7.156 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.3268, allocations: 95.48 kB / 461.3 MB, free: 7.062 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.577e-05/0.3269, allocations: 15.98 kB / 461.3 MB, free: 7.047 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.3273, allocations: 48.02 kB / 461.3 MB, free: 7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.3274, allocations: 44.3 kB / 461.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.3274, allocations: 16 kB / 461.4 MB, free: 6.938 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007648/0.3282, allocations: 0.581 MB / 462 MB, free: 6.359 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3282, allocations: 0 / 462 MB, free: 6.359 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007327/0.3289, allocations: 216 kB / 462.2 MB, free: 6.148 MB / 366.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.002071/0.331, allocations: 1.757 MB / 463.9 MB, free: 4.348 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001406/0.3324, allocations: 0.8083 MB / 464.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3324, allocations: 0 / 464.7 MB, free: 3.523 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007508/0.3331, allocations: 481.5 kB / 465.2 MB, free: 3.039 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009048/0.334, allocations: 178.9 kB / 465.4 MB, free: 2.867 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/0.3466, allocations: 8.601 MB / 474 MB, free: 10.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.3476, allocations: 1.328 MB / 475.3 MB, free: 8.719 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004739/0.3481, allocations: 185.8 kB / 475.5 MB, free: 8.535 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004975/0.3486, allocations: 383.3 kB / 475.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of SimCode: time 1.212e-06/0.3486, allocations: 0 / 475.9 MB, free: 8.16 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05996/0.4086, allocations: 20.07 MB / 496 MB, free: 4.336 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.6/13, allocations: 12 kB / 496 MB, free: 4.324 MB / 398.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.442220562999864]