Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001097/0.001097, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001187/0.001187, allocations: 170 kB / 23.95 MB, free: 0.6055 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.9078/0.9078, allocations: 177.1 MB / 204.3 MB, free: 5.738 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.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.6 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.818e-05/2.012e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.003265/0.003286, allocations: 3.493 MB / 328.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001356/0.004642, allocations: 1.047 MB / 329.1 MB, free: 11.38 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002107/0.004853, allocations: 35.75 kB / 329.1 MB, free: 11.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002602/0.005113, allocations: 150.8 kB / 329.3 MB, free: 11.2 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006817/0.005795, allocations: 321.9 kB / 329.6 MB, free: 10.88 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002093/0.006004, allocations: 135.8 kB / 329.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009063/0.00691, allocations: 1.459 MB / 331.2 MB, free: 9.281 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005711/0.007481, allocations: 0.6435 MB / 331.8 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007573/0.008239, allocations: 0.9435 MB / 332.8 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006722/0.008911, allocations: 0.7326 MB / 333.5 MB, free: 6.918 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001465/0.009057, allocations: 160 kB / 333.7 MB, free: 6.762 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001762/0.009234, allocations: 164 kB / 333.8 MB, free: 6.602 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.009503, allocations: 490.6 kB / 334.3 MB, free: 6.121 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003579/0.009861, allocations: 0.5183 MB / 334.8 MB, free: 5.602 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.0112, allocations: 2.111 MB / 336.9 MB, free: 3.484 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.01121, allocations: 7.984 kB / 336.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.01121, allocations: 0 / 336.9 MB, free: 3.477 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.075e-05/0.01124, allocations: 0 / 336.9 MB, free: 3.477 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.002096/0.01333, allocations: 1.645 MB / 338.6 MB, free: 1.797 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.01338, allocations: 8.031 kB / 338.6 MB, free: 1.789 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001623/0.01354, allocations: 181.3 kB / 338.8 MB, free: 1.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003921/0.01393, allocations: 180 kB / 338.9 MB, free: 1.426 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009715/0.0149, allocations: 0.8506 MB / 339.8 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.912e-05/0.01495, allocations: 82.62 kB / 339.9 MB, free: 468 kB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.01506, allocations: 108.4 kB / 340 MB, free: 360 kB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002284/0.01735, allocations: 1.731 MB / 341.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.308e-05/0.01737, allocations: 0 / 341.7 MB, free: 14.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.437e-05/0.01744, allocations: 44 kB / 341.8 MB, free: 14.5 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.01747, allocations: 31.94 kB / 341.8 MB, free: 14.46 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.01912, allocations: 1.328 MB / 343.1 MB, free: 13.13 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00677/0.02589, allocations: 3.885 MB / 347 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001142/0.02703, allocations: 0.6234 MB / 347.6 MB, free: 8.492 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000857/0.02789, allocations: 0.4907 MB / 348.1 MB, free: 8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.02792, allocations: 12.48 kB / 348.1 MB, free: 7.984 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.02796, allocations: 47.06 kB / 348.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.815e-06/0.02796, allocations: 0 / 348.2 MB, free: 7.93 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.00151/0.02947, allocations: 0.8829 MB / 349.1 MB, free: 7.043 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.906e-05/0.02952, allocations: 59.84 kB / 349.1 MB, free: 6.969 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.03068, allocations: 0.8321 MB / 349.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.319e-05/0.03073, allocations: 37.7 kB / 350 MB, free: 6.082 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.03111, allocations: 0.5584 MB / 350.5 MB, free: 5.516 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.03125, allocations: 186.4 kB / 350.7 MB, free: 5.332 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001709/0.03142, allocations: 98.34 kB / 350.8 MB, free: 5.23 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.03159, allocations: 390.7 kB / 351.2 MB, free: 4.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004836/0.03207, allocations: 305.1 kB / 351.5 MB, free: 4.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/0.03259, allocations: 391.4 kB / 351.9 MB, free: 4.129 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009136/0.0335, allocations: 0.6817 MB / 352.6 MB, free: 3.418 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.95e-06/0.03351, allocations: 4 kB / 352.6 MB, free: 3.414 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001189/0.0347, allocations: 0.8286 MB / 353.4 MB, free: 2.578 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.03472, allocations: 11.98 kB / 353.4 MB, free: 2.566 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.03473, allocations: 3.984 kB / 353.4 MB, free: 2.562 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.03475, allocations: 8 kB / 353.4 MB, free: 2.555 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004759/0.03523, allocations: 143.8 kB / 353.6 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.03524, allocations: 8.266 kB / 353.6 MB, free: 2.406 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.03552, allocations: 63.61 kB / 353.6 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.143e-05/0.03555, allocations: 16 kB / 353.6 MB, free: 2.328 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005232/0.03608, allocations: 469.3 kB / 354.1 MB, free: 1.859 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.03618, allocations: 83.47 kB / 354.2 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/0.0363, allocations: 95.06 kB / 354.3 MB, free: 1.676 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.03631, allocations: 4 kB / 354.3 MB, free: 1.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/0.03631, allocations: 4 kB / 354.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.03632, allocations: 0 / 354.3 MB, free: 1.668 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.03832, allocations: 1.833 MB / 356.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.03832, allocations: 4 kB / 356.1 MB, free: 15.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000257/0.03858, allocations: 120 kB / 356.2 MB, free: 15.65 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.806e-06/0.03859, allocations: 4 kB / 356.2 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.485e-05/0.03861, allocations: 12 kB / 356.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.03862, allocations: 4 kB / 356.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/0.03862, allocations: 3.938 kB / 356.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009346/0.03956, allocations: 1.128 MB / 357.4 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.03967, allocations: 99.39 kB / 357.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/0.03972, allocations: 15.98 kB / 357.5 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.03991, allocations: 47.95 kB / 357.5 MB, free: 14.31 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.75e-05/0.03998, allocations: 36.38 kB / 357.6 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.04, allocations: 23.92 kB / 357.6 MB, free: 14.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004593/0.04046, allocations: 0.5927 MB / 358.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04046, allocations: 4 kB / 358.2 MB, free: 13.66 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005182/0.04098, allocations: 295 kB / 358.5 MB, free: 13.37 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (transformerL.inductor[1].i,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 (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001256/0.04224, allocations: 1.677 MB / 360.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006102/0.04285, allocations: 0.6308 MB / 360.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.04285, allocations: 0 / 360.8 MB, free: 11.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00027/0.04312, allocations: 314.5 kB / 361.1 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005261/0.04365, allocations: 179.8 kB / 361.3 MB, free: 10.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007522/0.05117, allocations: 8.547 MB / 369.8 MB, free: 1.801 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.05165, allocations: 0.7486 MB / 370.6 MB, free: 1.016 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002955/0.05195, allocations: 205.8 kB / 370.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003304/0.05228, allocations: 388.4 kB / 371.2 MB, free: 444 kB / 330.7 MB Notification: Performance of SimCode: time 5.1e-07/0.05228, allocations: 4 kB / 371.2 MB, free: 440 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03386/0.08614, allocations: 20.77 MB / 391.9 MB, free: 11.95 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.33/7.416, allocations: 3.859 kB / 391.9 MB, free: 11.95 MB / 362.7 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_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_TransformerYD.fmu > Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.16993046645075]