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.001566/0.001566, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.001412/0.001412, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.478/1.478, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001525/0.001525, allocations: 43.94 kB / 373 MB, free: 10.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1165, allocations: 53.32 MB / 426.3 MB, free: 4.801 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005399/0.1219, allocations: 3.803 MB / 430.1 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.2597/0.3816, allocations: 1.017 MB / 431.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009351/0.3825, allocations: 29.34 kB / 431.1 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005368/0.3831, allocations: 157.8 kB / 431.3 MB, free: 7.527 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001154/0.3842, allocations: 281.4 kB / 431.6 MB, free: 7.52 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004179/0.3846, allocations: 141.9 kB / 431.7 MB, free: 7.516 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002155/0.3868, allocations: 1.4 MB / 433.1 MB, free: 7.375 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001383/0.3882, allocations: 0.8781 MB / 434 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001382/0.3896, allocations: 0.6496 MB / 434.6 MB, free: 7.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001468/0.391, allocations: 0.7706 MB / 435.4 MB, free: 7 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003543/0.3914, allocations: 160.2 kB / 435.6 MB, free: 6.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004636/0.3918, allocations: 165.2 kB / 435.7 MB, free: 6.992 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006304/0.3925, allocations: 462.6 kB / 436.2 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.3937, allocations: 0.731 MB / 436.9 MB, free: 6.547 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003757/0.3974, allocations: 2.048 MB / 439 MB, free: 5.855 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.3975, allocations: 1.562 kB / 439 MB, free: 5.855 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.3975, allocations: 0 / 439 MB, free: 5.855 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.85e-05/0.3975, allocations: 1.219 kB / 439 MB, free: 5.855 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.005122/0.4026, allocations: 1.708 MB / 440.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.099e-05/0.4027, allocations: 9.719 kB / 440.7 MB, free: 4.812 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003447/0.4031, allocations: 175.7 kB / 440.9 MB, free: 4.699 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000798/0.4039, allocations: 173.3 kB / 441 MB, free: 4.625 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.4056, allocations: 0.9072 MB / 441.9 MB, free: 4.098 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.238e-05/0.4057, allocations: 82.84 kB / 442 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.4059, allocations: 111.7 kB / 442.1 MB, free: 4.02 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003021/0.4089, allocations: 1.546 MB / 443.7 MB, free: 3.402 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.409, allocations: 4 kB / 443.7 MB, free: 3.398 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001165/0.4091, allocations: 45.84 kB / 443.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.283e-05/0.4091, allocations: 26.94 kB / 443.7 MB, free: 3.363 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002759/0.4119, allocations: 1.314 MB / 445.1 MB, free: 2.914 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007853/0.4197, allocations: 4.178 MB / 449.2 MB, free: 0.7969 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/0.4209, allocations: 1.281 MB / 450.5 MB, free: 15.72 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007738/0.4217, allocations: 437.6 kB / 450.9 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.163e-05/0.4217, allocations: 5.344 kB / 450.9 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.134e-05/0.4217, allocations: 42.69 kB / 451 MB, free: 15.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=49): time 3.466e-06/0.4217, allocations: 1.875 kB / 451 MB, free: 15.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.004211/0.426, allocations: 1.959 MB / 453 MB, free: 14.48 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.426, allocations: 57.5 kB / 453 MB, free: 14.42 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001506/0.4275, allocations: 0.8261 MB / 453.8 MB, free: 13.96 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.825e-05/0.4276, allocations: 35.17 kB / 453.9 MB, free: 13.92 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004984/0.4281, allocations: 0.5517 MB / 454.4 MB, free: 13.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001851/0.4283, allocations: 186.4 kB / 454.6 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001882/0.4284, allocations: 110.7 kB / 454.7 MB, free: 13.21 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002468/0.4287, allocations: 389.1 kB / 455.1 MB, free: 12.84 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005326/0.4292, allocations: 303.4 kB / 455.4 MB, free: 12.68 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006109/0.4298, allocations: 409 kB / 455.8 MB, free: 12.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001148/0.431, allocations: 0.6947 MB / 456.5 MB, free: 12 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.431, allocations: 1.125 kB / 456.5 MB, free: 12 MB / 366.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001938/0.4329, allocations: 0.9173 MB / 457.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.433, allocations: 5.75 kB / 457.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.262e-05/0.433, allocations: 2.656 kB / 457.4 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003511/0.4333, allocations: 112.9 kB / 457.5 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.4339, allocations: 120.5 kB / 457.6 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.4369, allocations: 2.369 MB / 460 MB, free: 9.309 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005956/0.4375, allocations: 27.77 kB / 460 MB, free: 9.293 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.455e-05/0.4375, allocations: 22 kB / 460.1 MB, free: 9.285 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.0009089/0.4384, allocations: 460.2 kB / 460.5 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.4387, allocations: 77.16 kB / 460.6 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002412/0.4389, allocations: 89.67 kB / 460.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.4389, allocations: 4.5 kB / 460.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.542e-05/0.439, allocations: 2.281 kB / 460.7 MB, free: 8.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.439, allocations: 9.047 kB / 460.7 MB, free: 8.859 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004188/0.4432, allocations: 2.018 MB / 462.7 MB, free: 7.574 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.981e-06/0.4432, allocations: 7.969 kB / 462.7 MB, free: 7.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000357/0.4435, allocations: 86.05 kB / 462.8 MB, free: 7.551 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002477/0.4438, allocations: 100.3 kB / 462.9 MB, free: 7.5 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.4438, allocations: 17.3 kB / 462.9 MB, free: 7.488 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002419/0.4462, allocations: 2.327 MB / 465.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.4462, allocations: 2.188 kB / 465.2 MB, free: 5.426 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00208/0.4483, allocations: 1.205 MB / 466.4 MB, free: 4.691 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003399/0.4486, allocations: 167.8 kB / 466.6 MB, free: 4.539 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.4487, allocations: 13.25 kB / 466.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000417/0.4492, allocations: 42.64 kB / 466.7 MB, free: 4.516 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.4493, allocations: 54.12 kB / 466.7 MB, free: 4.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.706e-05/0.4493, allocations: 15.53 kB / 466.7 MB, free: 4.477 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008784/0.4502, allocations: 0.5908 MB / 467.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4502, allocations: 0 / 467.3 MB, free: 4.145 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008826/0.4511, allocations: 207.2 kB / 467.5 MB, free: 4.129 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.002188/0.4533, allocations: 1.757 MB / 469.3 MB, free: 2.855 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001499/0.4548, allocations: 0.8029 MB / 470.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4548, allocations: 1.375 kB / 470.1 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007991/0.4556, allocations: 476.2 kB / 470.5 MB, free: 2.105 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009768/0.4565, allocations: 180.9 kB / 470.7 MB, free: 2.023 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01643/0.473, allocations: 8.642 MB / 479.4 MB, free: 9.484 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001741/0.4747, allocations: 1.344 MB / 480.7 MB, free: 8.113 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0007223/0.4754, allocations: 183.2 kB / 480.9 MB, free: 7.938 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006673/0.4761, allocations: 383.3 kB / 481.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of SimCode: time 1.753e-06/0.4761, allocations: 0 / 481.3 MB, free: 7.562 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06278/0.5389, allocations: 19.75 MB / 0.4893 GB, free: 4.082 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.99/11.53, allocations: 7.422 kB / 0.4893 GB, free: 4.078 MB / 398.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.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_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.csv","/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: 14.060683271003654]