Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.006249/0.006249, allocations: 114 kB / 21.97 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.001713/0.001713, allocations: 209.2 kB / 25.28 MB, free: 3.25 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 207.6 MB / 236.1 MB, free: 9.965 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001706, allocations: 51.94 kB / 348 MB, free: 10.04 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2849, allocations: 49.17 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TransformerYD): time 0.004817/0.2898, allocations: 3.755 MB / 400.9 MB, free: 6.344 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001826/0.2916, allocations: 1.076 MB / 402 MB, free: 5.566 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000212/0.2918, allocations: 24.56 kB / 402 MB, free: 5.555 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003463/0.2921, allocations: 160.9 kB / 402.1 MB, free: 5.465 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007857/0.2929, allocations: 305.8 kB / 402.4 MB, free: 5.289 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002417/0.2932, allocations: 144.5 kB / 402.6 MB, free: 5.203 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001379/0.2946, allocations: 1.448 MB / 404 MB, free: 4.504 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007476/0.2953, allocations: 0.6074 MB / 404.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007359/0.296, allocations: 0.6489 MB / 405.3 MB, free: 3.875 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.2971, allocations: 0.7906 MB / 406.1 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000214/0.2973, allocations: 160.3 kB / 406.2 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002684/0.2976, allocations: 158.8 kB / 406.4 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004107/0.298, allocations: 468 kB / 406.9 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007271/0.2987, allocations: 0.7453 MB / 407.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.3008, allocations: 2.069 MB / 409.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.3009, allocations: 0 / 409.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.3009, allocations: 0 / 409.7 MB, free: 1.93 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.3009, allocations: 0 / 409.7 MB, free: 1.93 MB / 318.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.002792/0.3037, allocations: 1.643 MB / 411.3 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/0.3037, allocations: 13.73 kB / 411.3 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.076e-05/0.3038, allocations: 33 kB / 411.4 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001983/0.304, allocations: 178.5 kB / 411.5 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002094/0.3042, allocations: 151.3 kB / 411.7 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00118/0.3053, allocations: 0.7822 MB / 412.5 MB, free: 28 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.523e-05/0.3054, allocations: 83.52 kB / 412.5 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001895/0.3056, allocations: 108.6 kB / 412.6 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002657/0.3083, allocations: 1.571 MB / 414.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.532e-05/0.3083, allocations: 0.8438 kB / 414.2 MB, free: 15 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.3084, allocations: 54.42 kB / 414.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.3085, allocations: 27.5 kB / 414.3 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.3109, allocations: 1.328 MB / 415.6 MB, free: 14.26 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00704/0.3179, allocations: 4.208 MB / 419.8 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001108/0.319, allocations: 0.6292 MB / 420.5 MB, free: 10.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009964/0.32, allocations: 0.4935 MB / 421 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.576e-05/0.3201, allocations: 4.562 kB / 421 MB, free: 10.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.338e-05/0.3201, allocations: 38.56 kB / 421 MB, free: 10.68 MB / 334.1 MB Notification: Performance of pre-optimization done (n=51): time 2.494e-06/0.3201, allocations: 4 kB / 421 MB, free: 10.68 MB / 334.1 MB Notification: Performance of matching and sorting (n=51): time 0.001718/0.3218, allocations: 0.8752 MB / 421.9 MB, free: 10.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.533e-05/0.3219, allocations: 60.75 kB / 421.9 MB, free: 10.16 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001178/0.3231, allocations: 0.8291 MB / 422.8 MB, free: 9.344 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.803e-05/0.3231, allocations: 33.7 kB / 422.8 MB, free: 9.305 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004965/0.3236, allocations: 0.5545 MB / 423.4 MB, free: 8.742 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.3238, allocations: 194.4 kB / 423.5 MB, free: 8.551 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001799/0.324, allocations: 102.3 kB / 423.6 MB, free: 8.445 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002305/0.3242, allocations: 378.8 kB / 424 MB, free: 8.066 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00048/0.3247, allocations: 305.1 kB / 424.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005326/0.3252, allocations: 399.3 kB / 424.7 MB, free: 7.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001007/0.3262, allocations: 0.6893 MB / 425.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.3262, allocations: 0 / 425.4 MB, free: 6.625 MB / 334.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001289/0.3275, allocations: 0.817 MB / 426.2 MB, free: 5.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3275, allocations: 8 kB / 426.2 MB, free: 5.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.007e-05/0.3276, allocations: 4 kB / 426.2 MB, free: 5.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.3276, allocations: 4 kB / 426.2 MB, free: 5.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.3282, allocations: 151.7 kB / 426.4 MB, free: 5.641 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.794e-05/0.3282, allocations: 8.219 kB / 426.4 MB, free: 5.633 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004574/0.3286, allocations: 71.59 kB / 426.4 MB, free: 5.562 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.265e-05/0.3287, allocations: 23.98 kB / 426.5 MB, free: 5.539 MB / 334.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.0006173/0.3293, allocations: 453.5 kB / 426.9 MB, free: 5.086 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3294, allocations: 79.53 kB / 427 MB, free: 5.008 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001823/0.3296, allocations: 95.06 kB / 427.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.266e-06/0.3296, allocations: 8 kB / 427.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.3296, allocations: 3.938 kB / 427.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.3297, allocations: 3.938 kB / 427.1 MB, free: 4.895 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003225/0.3329, allocations: 1.917 MB / 429 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.3329, allocations: 0 / 429 MB, free: 2.906 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004943/0.3334, allocations: 115.8 kB / 429.1 MB, free: 2.793 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.3334, allocations: 7.938 kB / 429.1 MB, free: 2.785 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.713e-05/0.3334, allocations: 19.98 kB / 429.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.3334, allocations: 0 / 429.2 MB, free: 2.766 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.3334, allocations: 4 kB / 429.2 MB, free: 2.762 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001613/0.3351, allocations: 1.138 MB / 430.3 MB, free: 1.59 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002383/0.3353, allocations: 103.4 kB / 430.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001162/0.3354, allocations: 12 kB / 430.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004227/0.3358, allocations: 47.95 kB / 430.5 MB, free: 1.43 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3359, allocations: 40.3 kB / 430.5 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.563e-05/0.336, allocations: 16 kB / 430.5 MB, free: 1.371 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0007627/0.3367, allocations: 0.5966 MB / 431.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3367, allocations: 0 / 431.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007842/0.3375, allocations: 279.1 kB / 431.4 MB, free: 0.5039 MB / 334.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.001973/0.3395, allocations: 1.69 MB / 433.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3406, allocations: 0.6415 MB / 433.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3406, allocations: 0 / 433.7 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004717/0.341, allocations: 306.2 kB / 434 MB, free: 13.83 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000932/0.342, allocations: 187.6 kB / 434.2 MB, free: 13.65 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01384/0.3558, allocations: 8.534 MB / 442.7 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.3571, allocations: 1.34 MB / 444.1 MB, free: 3.566 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0005453/0.3577, allocations: 201.8 kB / 444.3 MB, free: 3.367 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005881/0.3583, allocations: 387.3 kB / 444.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3583, allocations: 0 / 444.6 MB, free: 2.988 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.053/0.4113, allocations: 19.66 MB / 464.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.57/11.98, allocations: 19.86 kB / 464.3 MB, free: 15.22 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TransformerYD/TransformerYD.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.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.39780693600187]