Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.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.001262/0.001262, allocations: 107.5 kB / 20.43 MB, free: 1.066 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.001294/0.001294, allocations: 186.6 kB / 23.7 MB, free: 4.188 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.421/1.421, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYD,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001641/0.001641, allocations: 51.91 kB / 370.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2471, allocations: 52.18 MB / 422.6 MB, free: 14.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYD): time 0.005055/0.2521, allocations: 3.457 MB / 426 MB, free: 10.96 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.2543, allocations: 0.9659 MB / 427 MB, free: 9.992 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002484/0.2545, allocations: 27.81 kB / 427 MB, free: 9.965 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003619/0.2549, allocations: 158.8 kB / 427.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008376/0.2557, allocations: 306.4 kB / 427.5 MB, free: 9.508 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.256, allocations: 127.8 kB / 427.6 MB, free: 9.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001482/0.2575, allocations: 1.412 MB / 429 MB, free: 7.965 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008828/0.2583, allocations: 0.6396 MB / 429.6 MB, free: 7.285 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007591/0.2591, allocations: 0.6581 MB / 430.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.2602, allocations: 0.8056 MB / 431.1 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002244/0.2604, allocations: 156 kB / 431.3 MB, free: 5.664 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003621/0.2608, allocations: 160 kB / 431.4 MB, free: 5.508 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004466/0.2612, allocations: 466.7 kB / 431.9 MB, free: 5.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006569/0.2619, allocations: 0.6029 MB / 432.5 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002025/0.2639, allocations: 2.087 MB / 434.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2639, allocations: 0 / 434.6 MB, free: 2.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.2639, allocations: 4 kB / 434.6 MB, free: 2.352 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.358e-05/0.2639, allocations: 0 / 434.6 MB, free: 2.352 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.003167/0.2671, allocations: 1.654 MB / 436.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2671, allocations: 12.03 kB / 436.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002191/0.2674, allocations: 173.3 kB / 436.4 MB, free: 480 kB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.2676, allocations: 156 kB / 436.6 MB, free: 324 kB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001685/0.2693, allocations: 0.8281 MB / 437.4 MB, free: 15.45 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.747e-05/0.2694, allocations: 90.19 kB / 437.5 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/0.2695, allocations: 108 kB / 437.6 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.2722, allocations: 1.727 MB / 439.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.2722, allocations: 0 / 439.3 MB, free: 13.45 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.2723, allocations: 48 kB / 439.4 MB, free: 13.4 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.582e-05/0.2723, allocations: 28 kB / 439.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002266/0.2746, allocations: 1.332 MB / 440.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007125/0.2817, allocations: 3.891 MB / 444.6 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009946/0.2827, allocations: 0.6115 MB / 445.2 MB, free: 7.391 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009238/0.2836, allocations: 0.4917 MB / 445.7 MB, free: 6.898 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.2837, allocations: 4.438 kB / 445.7 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.2837, allocations: 39 kB / 445.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=51): time 2.645e-06/0.2837, allocations: 0 / 445.7 MB, free: 6.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.00156/0.2853, allocations: 0.885 MB / 446.6 MB, free: 5.957 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.862e-05/0.2853, allocations: 55.84 kB / 446.7 MB, free: 5.891 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.2864, allocations: 0.8281 MB / 447.5 MB, free: 5.055 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.447e-05/0.2864, allocations: 33.7 kB / 447.5 MB, free: 5.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004505/0.2869, allocations: 0.5623 MB / 448.1 MB, free: 4.445 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.2871, allocations: 182.4 kB / 448.3 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.2872, allocations: 106.3 kB / 448.4 MB, free: 4.156 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000215/0.2875, allocations: 386.8 kB / 448.8 MB, free: 3.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.288, allocations: 305.1 kB / 449.1 MB, free: 3.473 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005656/0.2885, allocations: 399.3 kB / 449.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.2896, allocations: 0.6854 MB / 450.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.2896, allocations: 0 / 450.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001343/0.2909, allocations: 0.8211 MB / 451 MB, free: 1.508 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/0.291, allocations: 8.062 kB / 451 MB, free: 1.5 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.291, allocations: 4 kB / 451 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.081e-05/0.291, allocations: 4 kB / 451 MB, free: 1.492 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006254/0.2916, allocations: 147.8 kB / 451.1 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.365e-05/0.2916, allocations: 7.938 kB / 451.1 MB, free: 1.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003908/0.292, allocations: 67.59 kB / 451.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.109e-05/0.2921, allocations: 20 kB / 451.2 MB, free: 1.254 MB / 350.1 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.0006598/0.2927, allocations: 465.4 kB / 451.7 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001526/0.2929, allocations: 79.53 kB / 451.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.293, allocations: 91.02 kB / 451.8 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.2931, allocations: 11.94 kB / 451.8 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.056e-05/0.2931, allocations: 3.938 kB / 451.9 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.653e-06/0.2931, allocations: 3.984 kB / 451.9 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003322/0.2964, allocations: 1.824 MB / 453.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2964, allocations: 0 / 453.7 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005884/0.297, allocations: 123.8 kB / 453.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.218e-05/0.297, allocations: 4 kB / 453.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.183e-05/0.2971, allocations: 16.14 kB / 453.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.065e-06/0.2971, allocations: 8 kB / 453.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.875e-06/0.2971, allocations: 0 / 453.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00185/0.2989, allocations: 1.126 MB / 455 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002132/0.2991, allocations: 99.42 kB / 455.1 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.678e-05/0.2992, allocations: 16 kB / 455.1 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003953/0.2996, allocations: 47.95 kB / 455.1 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.2997, allocations: 40.3 kB / 455.2 MB, free: 13.21 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.2997, allocations: 16 kB / 455.2 MB, free: 13.19 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008155/0.3006, allocations: 0.5927 MB / 455.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3006, allocations: 0 / 455.8 MB, free: 12.6 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007076/0.3013, allocations: 287.1 kB / 456 MB, free: 12.32 MB / 366.1 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.002112/0.3034, allocations: 1.686 MB / 457.7 MB, free: 10.59 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001098/0.3045, allocations: 0.6336 MB / 458.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3045, allocations: 0.5625 kB / 458.4 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.305, allocations: 314.2 kB / 458.7 MB, free: 9.648 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008834/0.3059, allocations: 183 kB / 458.8 MB, free: 9.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01239/0.3183, allocations: 8.505 MB / 467.4 MB, free: 0.7773 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008853/0.3192, allocations: 0.7446 MB / 468.1 MB, free: 16 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005434/0.3197, allocations: 209.8 kB / 468.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005595/0.3203, allocations: 387.3 kB / 468.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of SimCode: time 9.32e-07/0.3203, allocations: 4 kB / 468.7 MB, free: 15.41 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0681/0.3884, allocations: 20.57 MB / 489.3 MB, free: 11.17 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/12, allocations: 21.78 kB / 489.3 MB, free: 11.15 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYD.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 14.376683454029262]