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.001647/0.001647, allocations: 120.1 kB / 17.78 MB, free: 5.23 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.001409/0.001409, allocations: 198.8 kB / 20.73 MB, free: 2.289 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.453/1.453, allocations: 225.6 MB / 249.1 MB, free: 3.613 MB / 190.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.001667/0.001667, allocations: 51.91 kB / 365.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.11, allocations: 52.14 MB / 417.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005421/0.1154, allocations: 3.793 MB / 421.6 MB, free: 8.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.1173, allocations: 0.9386 MB / 422.5 MB, free: 7.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002221/0.1175, allocations: 27.81 kB / 422.5 MB, free: 7.809 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1178, allocations: 158.8 kB / 422.7 MB, free: 7.652 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007713/0.1186, allocations: 286.5 kB / 423 MB, free: 7.371 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1189, allocations: 119.8 kB / 423.1 MB, free: 7.254 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001426/0.1203, allocations: 1.397 MB / 424.5 MB, free: 5.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001081/0.1214, allocations: 0.8809 MB / 425.4 MB, free: 4.938 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007448/0.1221, allocations: 0.6387 MB / 426 MB, free: 4.297 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001065/0.1232, allocations: 0.7744 MB / 426.8 MB, free: 3.52 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002165/0.1234, allocations: 156 kB / 426.9 MB, free: 3.367 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.1236, allocations: 156 kB / 427.1 MB, free: 3.215 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004326/0.1241, allocations: 470.7 kB / 427.6 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000774/0.1248, allocations: 0.7311 MB / 428.3 MB, free: 2.02 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001986/0.1268, allocations: 2.044 MB / 430.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.1268, allocations: 7.938 kB / 430.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1268, allocations: 0 / 430.3 MB, free: 15.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.386e-05/0.1269, allocations: 0 / 430.3 MB, free: 15.96 MB / 366.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.003034/0.1299, allocations: 1.694 MB / 432 MB, free: 14.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.1299, allocations: 8.031 kB / 432 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002206/0.1302, allocations: 177.2 kB / 432.2 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000261/0.1304, allocations: 148 kB / 432.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001382/0.1318, allocations: 0.8739 MB / 433.2 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.611e-05/0.1319, allocations: 82.16 kB / 433.3 MB, free: 12.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/0.1321, allocations: 119.9 kB / 433.4 MB, free: 12.76 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.1346, allocations: 1.544 MB / 435 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1346, allocations: 0 / 435 MB, free: 11.17 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001139/0.1347, allocations: 48 kB / 435 MB, free: 11.12 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.494e-05/0.1347, allocations: 28 kB / 435 MB, free: 11.1 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002174/0.1369, allocations: 1.312 MB / 436.4 MB, free: 9.777 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006443/0.1433, allocations: 4.175 MB / 440.5 MB, free: 5.469 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001299/0.1446, allocations: 1.285 MB / 441.8 MB, free: 4.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006991/0.1453, allocations: 442.6 kB / 442.2 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.351e-05/0.1454, allocations: 4.438 kB / 442.3 MB, free: 3.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.1454, allocations: 46.94 kB / 442.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 1.894e-06/0.1454, allocations: 0 / 442.3 MB, free: 3.516 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003443/0.1489, allocations: 1.952 MB / 444.2 MB, free: 1.508 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.207e-05/0.1489, allocations: 67.83 kB / 444.3 MB, free: 1.426 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/0.15, allocations: 0.8204 MB / 445.1 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.912e-05/0.15, allocations: 29.7 kB / 445.2 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.1991/0.3491, allocations: 0.5523 MB / 445.7 MB, free: 29.95 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.3493, allocations: 182.5 kB / 445.9 MB, free: 29.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.3495, allocations: 104.2 kB / 446 MB, free: 29.93 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001541/0.3497, allocations: 386.8 kB / 446.4 MB, free: 29.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004961/0.3502, allocations: 302.2 kB / 446.7 MB, free: 29.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004378/0.3506, allocations: 406.4 kB / 447.1 MB, free: 29.53 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/0.3514, allocations: 0.6997 MB / 447.8 MB, free: 29.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.3514, allocations: 0 / 447.8 MB, free: 29.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001291/0.3527, allocations: 0.9189 MB / 448.7 MB, free: 29.38 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.3527, allocations: 7.531 kB / 448.7 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3528, allocations: 3.562 kB / 448.7 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000277/0.353, allocations: 112 kB / 448.8 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004879/0.3535, allocations: 121.2 kB / 448.9 MB, free: 29.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001755/0.3553, allocations: 2.37 MB / 451.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/0.3557, allocations: 30.55 kB / 451.3 MB, free: 27.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.554e-05/0.3557, allocations: 19.05 kB / 451.3 MB, free: 27.89 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.0006009/0.3563, allocations: 453 kB / 451.8 MB, free: 27.78 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.3564, allocations: 77.39 kB / 451.9 MB, free: 27.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001536/0.3566, allocations: 97.14 kB / 452 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3566, allocations: 7.969 kB / 452 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.427e-06/0.3566, allocations: 2.922 kB / 452 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.3566, allocations: 2.156 kB / 452 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002887/0.3595, allocations: 2.008 MB / 454 MB, free: 27.02 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3595, allocations: 3.25 kB / 454 MB, free: 27.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/0.3598, allocations: 91.98 kB / 454.1 MB, free: 27.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002218/0.36, allocations: 96.89 kB / 454.2 MB, free: 26.99 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.188e-05/0.3601, allocations: 17.7 kB / 454.2 MB, free: 26.98 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001931/0.362, allocations: 2.332 MB / 456.5 MB, free: 25.1 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.362, allocations: 3.125 kB / 456.5 MB, free: 25.1 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001568/0.3636, allocations: 1.2 MB / 457.7 MB, free: 24.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.3637, allocations: 167.5 kB / 457.9 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.683e-05/0.3638, allocations: 15.77 kB / 457.9 MB, free: 24.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003888/0.3642, allocations: 47.17 kB / 457.9 MB, free: 24.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.3643, allocations: 48.55 kB / 458 MB, free: 24.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.3643, allocations: 17.27 kB / 458 MB, free: 24.38 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007063/0.3651, allocations: 0.5818 MB / 458.6 MB, free: 24.15 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3651, allocations: 0 / 458.6 MB, free: 24.15 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000763/0.3658, allocations: 209.4 kB / 458.8 MB, free: 24.13 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.001753/0.3676, allocations: 1.758 MB / 460.5 MB, free: 23.03 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.3688, allocations: 0.8025 MB / 461.4 MB, free: 22.7 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3688, allocations: 0.9062 kB / 461.4 MB, free: 22.7 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006493/0.3695, allocations: 476.8 kB / 461.8 MB, free: 22.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008322/0.3703, allocations: 178.2 kB / 462 MB, free: 22.41 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01064/0.3809, allocations: 8.586 MB / 470.6 MB, free: 18.4 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008333/0.3818, allocations: 1.335 MB / 471.9 MB, free: 17.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004489/0.3822, allocations: 192.3 kB / 472.1 MB, free: 17.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000373/0.3826, allocations: 378 kB / 472.5 MB, free: 17.27 MB / 366.1 MB Notification: Performance of SimCode: time 9.41e-07/0.3826, allocations: 0 / 472.5 MB, free: 17.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04629/0.4289, allocations: 19.61 MB / 492.1 MB, free: 2.242 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.45, allocations: 12.98 kB / 492.1 MB, free: 2.23 MB / 366.1 MB " [Timeout remaining time 648] (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: 13.957820057868958]