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.001094/0.001094, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008714/0.0008714, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8956/0.8956, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] 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 1.583e-06/1.583e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.263e-05/1.422e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.003931/0.003945, allocations: 3.471 MB / 328 MB, free: 12.45 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001379/0.005323, allocations: 1.001 MB / 329 MB, free: 11.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002276/0.005551, allocations: 27.81 kB / 329.1 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002521/0.005803, allocations: 158.8 kB / 329.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006805/0.006484, allocations: 294.1 kB / 329.5 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002521/0.006736, allocations: 139.8 kB / 329.6 MB, free: 10.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009826/0.007718, allocations: 1.454 MB / 331.1 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005769/0.008295, allocations: 0.6118 MB / 331.7 MB, free: 8.719 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.009495, allocations: 0.9278 MB / 332.6 MB, free: 7.789 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008442/0.01034, allocations: 0.7053 MB / 333.3 MB, free: 7.082 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001529/0.01049, allocations: 160 kB / 333.5 MB, free: 6.926 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001951/0.01069, allocations: 167.9 kB / 333.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00027/0.01096, allocations: 482.6 kB / 334.1 MB, free: 6.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003711/0.01133, allocations: 0.5106 MB / 334.6 MB, free: 5.777 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001281/0.01261, allocations: 2.076 MB / 336.7 MB, free: 3.695 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.01261, allocations: 3.984 kB / 336.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.01261, allocations: 0 / 336.7 MB, free: 3.691 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.951e-05/0.01263, allocations: 0 / 336.7 MB, free: 3.691 MB / 298.7 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.001816/0.01445, allocations: 1.618 MB / 338.3 MB, free: 2.035 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.01449, allocations: 12.03 kB / 338.3 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001501/0.01464, allocations: 169.2 kB / 338.5 MB, free: 1.848 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002949/0.01494, allocations: 180 kB / 338.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008733/0.01581, allocations: 0.8389 MB / 339.5 MB, free: 0.7969 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.332e-05/0.01586, allocations: 82.59 kB / 339.6 MB, free: 0.7148 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.01596, allocations: 104.4 kB / 339.7 MB, free: 0.6133 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001511/0.01747, allocations: 1.707 MB / 341.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.671e-05/0.01749, allocations: 0 / 341.4 MB, free: 14.82 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.01755, allocations: 44 kB / 341.5 MB, free: 14.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.01756, allocations: 28 kB / 341.5 MB, free: 14.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001305/0.01887, allocations: 1.316 MB / 342.8 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003634/0.0225, allocations: 3.795 MB / 346.6 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005698/0.02307, allocations: 0.6175 MB / 347.2 MB, free: 8.895 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004289/0.0235, allocations: 446.6 kB / 347.7 MB, free: 8.453 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.02352, allocations: 8.5 kB / 347.7 MB, free: 8.441 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.426e-05/0.02355, allocations: 39.06 kB / 347.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of pre-optimization done (n=49): time 1.613e-06/0.02355, allocations: 0 / 347.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001952/0.0255, allocations: 1.892 MB / 349.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.908e-05/0.02553, allocations: 55.91 kB / 349.6 MB, free: 6.398 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006339/0.02617, allocations: 0.8282 MB / 350.5 MB, free: 5.562 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.559e-05/0.02619, allocations: 33.7 kB / 350.5 MB, free: 5.523 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.02644, allocations: 0.5545 MB / 351.1 MB, free: 4.961 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.662e-05/0.02653, allocations: 182.5 kB / 351.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.02663, allocations: 106.3 kB / 351.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.02675, allocations: 390.7 kB / 351.7 MB, free: 4.281 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.02704, allocations: 305.1 kB / 352 MB, free: 3.984 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003296/0.02737, allocations: 404.2 kB / 352.4 MB, free: 3.555 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006069/0.02797, allocations: 0.7059 MB / 353.1 MB, free: 2.816 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.02797, allocations: 4 kB / 353.1 MB, free: 2.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0008458/0.02882, allocations: 0.9116 MB / 354 MB, free: 1.887 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.02883, allocations: 4 kB / 354 MB, free: 1.883 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.02884, allocations: 7.984 kB / 354 MB, free: 1.875 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/0.02903, allocations: 112.7 kB / 354.2 MB, free: 1.762 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002739/0.0293, allocations: 119.8 kB / 354.3 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001418/0.03072, allocations: 2.23 MB / 356.5 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001635/0.03088, allocations: 23.97 kB / 356.5 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.362e-05/0.0309, allocations: 20 kB / 356.5 MB, free: 15.26 MB / 330.7 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.000343/0.03125, allocations: 465.4 kB / 357 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.946e-05/0.03132, allocations: 83.55 kB / 357.1 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.73e-05/0.03139, allocations: 95.25 kB / 357.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.0314, allocations: 4 kB / 357.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.0314, allocations: 11.88 kB / 357.2 MB, free: 14.6 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.03141, allocations: 3.984 kB / 357.2 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001778/0.03319, allocations: 1.893 MB / 359.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.03319, allocations: 0 / 359.1 MB, free: 12.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001797/0.03337, allocations: 96.03 kB / 359.2 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001377/0.03351, allocations: 104.7 kB / 359.3 MB, free: 12.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.03353, allocations: 15.98 kB / 359.3 MB, free: 12.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001287/0.03481, allocations: 2.203 MB / 361.5 MB, free: 10.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.03482, allocations: 8.094 kB / 361.5 MB, free: 10.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.03583, allocations: 1.195 MB / 362.7 MB, free: 8.863 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.03593, allocations: 91.55 kB / 362.8 MB, free: 8.773 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.28e-05/0.03597, allocations: 11.98 kB / 362.8 MB, free: 8.762 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.03616, allocations: 52.02 kB / 362.9 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.501e-05/0.03624, allocations: 48.3 kB / 362.9 MB, free: 8.664 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.704e-05/0.03625, allocations: 12 kB / 362.9 MB, free: 8.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004588/0.03671, allocations: 0.5966 MB / 363.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03671, allocations: 0 / 363.5 MB, free: 8.062 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004091/0.03712, allocations: 212 kB / 363.7 MB, free: 7.855 MB / 330.7 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.001249/0.03837, allocations: 1.751 MB / 365.5 MB, free: 6.051 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009206/0.03929, allocations: 0.7936 MB / 366.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.03929, allocations: 0 / 366.3 MB, free: 5.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004581/0.03975, allocations: 486 kB / 366.7 MB, free: 4.762 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005236/0.04027, allocations: 190.9 kB / 366.9 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007525/0.0478, allocations: 8.655 MB / 375.6 MB, free: 11.72 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004963/0.0483, allocations: 0.7485 MB / 376.3 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002717/0.04857, allocations: 185.8 kB / 376.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000317/0.04888, allocations: 380.4 kB / 376.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of SimCode: time 6.82e-07/0.04889, allocations: 0 / 376.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03145/0.08034, allocations: 21.2 MB / 398.1 MB, free: 5.465 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.656/7.736, allocations: 3.938 kB / 398.1 MB, free: 5.461 MB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins/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: 9.47714271582663]